Merge pull request #1443 from PyAutoLabs/feature/nautilus-1core-seria… #3714
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). | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| 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: autofit | |
| secrets: inherit |