🍀 Change to use the reusable workflow in the remote repo. #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI + E2E | ||
|
Check failure on line 1 in .github/workflows/ci_includes_e2e_test.yaml
|
||
| on: | ||
| # ── Every Tuesday 19:33 UTC (= Wednesday 03:33 in Taipei, UTC+8) ── | ||
| # schedule: | ||
| # - cron: '33 19 * * 2' | ||
| workflow_dispatch: # Manually trigger(optional) | ||
| push: | ||
| branches: | ||
| - "**e2e" | ||
| - "e2e**" | ||
| paths: | ||
| # For GitHub Action | ||
| - ".github/workflows/ci_includes_e2e_test.yaml" | ||
| - ".github/workflows/rw_build_and_test.yaml" | ||
| - ".github/workflows/rw_uv_run_test.yaml" | ||
| - ".github/workflows/rw_run_all_test_and_record.yaml" | ||
| - ".github/workflows/rw_uv_run_test_with_multi_py_versions.yaml" | ||
| # For test code | ||
| - "test/e2e_test/**/*.py" | ||
| # For configurations for test or CI | ||
| - ".coveragerc" | ||
| - "codecov.yml" | ||
| - "pytest.ini" | ||
| - "sonar-project.properties" | ||
| # For Python project configuration | ||
| - "pyproject.toml" | ||
| - "uv.lock" | ||
| jobs: | ||
| build-and-test_all: | ||
| # name: Run all tests and organize all test reports | ||
| if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }} | ||
| uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_run_all_test_and_record.yaml@master | ||
| with: | ||
| run_e2e: true | ||
| secrets: | ||
| e2e_test_api_token: ${{ secrets.<YOUR_E2E_API_TOKEN> }} | ||
| codecov_token: ${{ secrets.CODECOV_TOKEN }} | ||
| sonar_token: ${{ secrets.SONAR_TOKEN }} | ||