Thanks, good work. Since the tests now run much quicker, can you enable running the associated CI job on PR and merge to main please? Perhaps also reduce the frequency of the scheduled run to once a week.
/home/david/projects/stirlingbridge/machine/.github/workflows/build-release.yml /home/david/projects/stirlingbridge/machine/.github/workflows/e2e-test.yml /home/david/projects/stirlingbridge/machine/.github/workflows/test.yml
{
"file_path": "/home/david/projects/stirlingbridge/machine/.github/workflows/e2e-test.yml"
} 1→name: E2E Test
2→
3→on:
4→ workflow_dispatch:
5→ schedule:
6→ # Run nightly at 06:00 UTC
7→ - cron: "0 6 * * *"
8→
9→jobs:
10→ e2e:
11→ name: "End-to-End Tests"
12→ runs-on: ubuntu-latest
13→ environment: e2e
14→ steps:
15→ - name: "Clone project repository"
16→ uses: actions/checkout@v4
17→ - name: "Install uv"
18→ uses: astral-sh/setup-uv@v4
19→ - name: "Install Python"
20→ run: uv python install 3.13
21→ - name: "Install dependencies"
22→ run: uv sync
23→ - name: "Run E2E tests"
24→ env:
25→ E2E_DO_TOKEN: ${{ secrets.E2E_DO_TOKEN }}
26→ E2E_SSH_KEY: ${{ vars.E2E_SSH_KEY }}
27→ E2E_DNS_ZONE: ${{ vars.E2E_DNS_ZONE }}
28→ E2E_PROJECT: ${{ vars.E2E_PROJECT }}
29→ run: uv run pytest tests/test_e2e.py -v -m e2e
30→on:
workflow_dispatch:
schedule:
# Run nightly at 06:00 UTC
- cron: "0 6 * * *"on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
schedule:
# Run weekly on Monday at 06:00 UTC
- cron: "0 6 * * 1"The file /home/david/projects/stirlingbridge/machine/.github/workflows/e2e-test.yml has been updated successfully.
Done. The changes to .github/workflows/e2e-test.yml:
push to main and pull_request to main triggers0 6 * * *) to weekly on Mondays (0 6 * * 1)workflow_dispatch for manual runs