Skip to content

Merge pull request #429 from PyAutoLabs/feature/py314-promotion #2507

Merge pull request #429 from PyAutoLabs/feature/py314-promotion

Merge pull request #429 from PyAutoLabs/feature/py314-promotion #2507

Workflow file for this run

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: autoarray
secrets: inherit