Merge pull request #695 from PyAutoLabs/agent/delaunay-nn #2374
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: Tests | |
| # One run per commit: PR events carry the CI; pushes only build main | |
| # (Heart's ws_ci gate reads main-HEAD conclusions). Superseded runs are | |
| # cancelled on PR refs only — a cancelled main run would read as red CI | |
| # (cancelled is in Heart's FAILURE_CONCLUSIONS). | |
| # | |
| # `workflow_dispatch` exists so a main-HEAD run can be re-requested on demand. | |
| # On 2026-08-06 a GitHub Actions outage dropped the push triggers for several | |
| # main merges, leaving main-HEAD with no Tests conclusion at all — which reads | |
| # to Heart's ws_ci gate as missing evidence and blocks a release. Without a | |
| # manual trigger the only recovery was an empty commit to main, since re-running | |
| # an existing run re-tests its own (older) sha. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: main-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| # Unit tests are defined once, centrally, in PyAutoHeart's reusable workflow | |
| # (Heart owns all health/readiness checking). This thin caller preserves PR-time | |
| # gating: the `unittest` job is the required status check on this repo. | |
| jobs: | |
| unittest: | |
| uses: PyAutoLabs/PyAutoHeart/.github/workflows/lib-tests.yml@main | |
| with: | |
| package: autolens | |
| secrets: inherit |