diff --git a/.github/workflows/scheduled-e2e-tests.yaml b/.github/workflows/scheduled-e2e-tests.yaml index 2faf3d8d3..e92e3af00 100644 --- a/.github/workflows/scheduled-e2e-tests.yaml +++ b/.github/workflows/scheduled-e2e-tests.yaml @@ -1,11 +1,16 @@ name: 'Neo4j-GraphRAG Scheduled E2E Tests' on: + workflow_dispatch: schedule: - - cron: '0 6 * * 1-5' # Runs at 6am on working days + - cron: '0 6 * * 1,4' # Mon, Thu push: branches: - main + +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: true jobs: e2e-tests: @@ -59,10 +64,17 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 - - name: Docker Prune + - name: Free up disk space (ubuntu-latest) run: | - docker system prune -af - docker volume prune -f + sudo rm -rf /usr/local/lib/android \ + /usr/share/dotnet \ + /opt/ghc \ + /opt/hostedtoolcache + docker system prune -af || true + docker volume prune -f || true + docker builder prune -af || true + sudo apt-get clean || true + df -h - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: