diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e09285f..90e16e73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,10 +49,12 @@ jobs: run: npm run check:i18n - name: Check layer imports run: lint-imports - - name: Python tests - run: python -m pytest tests -q -ra + # Runs before the Python suite: a failing or hanging test run must not hide + # whether the checked-in contracts still match the models. - name: Check generated contracts run: python scripts/generate_contracts.py --check + - name: Python tests + run: python -m pytest tests -q -ra - name: Production build run: npm run build - name: Verify installed wheel without Node.js