Skip to content

Commit 62d62b4

Browse files
Fix e2e tests failure on merge (#426)
* Enhance scheduled E2E tests workflow Added workflow_dispatch trigger and improved disk cleanup steps. * [For test purpose] Update branches for scheduled e2e tests workflow * Remove scheduled cron job for E2E tests and add concurrency settings. * Revert push trigger to main only * Add a scheduled trigger to run every Monday at 6 AM * Update cron schedule to twice per week
1 parent 790882b commit 62d62b4

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

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

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

33
on:
4+
workflow_dispatch:
45
schedule:
5-
- cron: '0 6 * * 1-5' # Runs at 6am on working days
6+
- cron: '0 6 * * 1,4' # Mon, Thu
67
push:
78
branches:
89
- main
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref_name }}
13+
cancel-in-progress: true
914

1015
jobs:
1116
e2e-tests:
@@ -59,10 +64,17 @@ jobs:
5964
steps:
6065
- name: Check out repository code
6166
uses: actions/checkout@v4
62-
- name: Docker Prune
67+
- name: Free up disk space (ubuntu-latest)
6368
run: |
64-
docker system prune -af
65-
docker volume prune -f
69+
sudo rm -rf /usr/local/lib/android \
70+
/usr/share/dotnet \
71+
/opt/ghc \
72+
/opt/hostedtoolcache
73+
docker system prune -af || true
74+
docker volume prune -f || true
75+
docker builder prune -af || true
76+
sudo apt-get clean || true
77+
df -h
6678
- name: Set up Python ${{ matrix.python-version }}
6779
uses: actions/setup-python@v5
6880
with:

0 commit comments

Comments
 (0)