Skip to content

Commit 4d4d1ee

Browse files
Enhance scheduled E2E tests workflow
Added workflow_dispatch trigger and improved disk cleanup steps.
1 parent 790882b commit 4d4d1ee

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/scheduled-e2e-tests.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 'Neo4j-GraphRAG Scheduled E2E Tests'
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '0 6 * * 1-5' # Runs at 6am on working days
67
push:
@@ -59,10 +60,17 @@ jobs:
5960
steps:
6061
- name: Check out repository code
6162
uses: actions/checkout@v4
62-
- name: Docker Prune
63+
- name: Free up disk space (ubuntu-latest)
6364
run: |
64-
docker system prune -af
65-
docker volume prune -f
65+
sudo rm -rf /usr/local/lib/android \
66+
/usr/share/dotnet \
67+
/opt/ghc \
68+
/opt/hostedtoolcache
69+
docker system prune -af || true
70+
docker volume prune -f || true
71+
docker builder prune -af || true
72+
sudo apt-get clean || true
73+
df -h
6674
- name: Set up Python ${{ matrix.python-version }}
6775
uses: actions/setup-python@v5
6876
with:

0 commit comments

Comments
 (0)