jobs.py: read the config like pytest and tools.py #3177
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: Check test-sequences consistency | |
| on: [push] | |
| permissions: {} | |
| jobs: | |
| jobs-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/uv-setup/ | |
| with: | |
| dev: false | |
| - name: jobs-check | |
| run: | | |
| FAILURES="" | |
| for seq in $(find -name "*.lst"); do | |
| if ! pytest @$seq --collect-only --quiet; then | |
| FAILURES="$FAILURES $seq" | |
| fi | |
| done | |
| [ -z "$FAILURES" ] || { echo >&2 "ERROR: test sequences failed consistency check: $FAILURES"; exit 1; } |