chore: add ty type checker and reorder make commands for faster feedback #2265
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/uv-setup/ | |
| with: | |
| dev: false | |
| - name: Create a dummy data.py | |
| run: cp data.py-dist data.py | |
| - 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; } |