Pamela Fox commited on
Commit
12786a5
·
1 Parent(s): 1fd4a50

Fail on failure

Browse files
Files changed (1) hide show
  1. .github/workflows/check.yaml +1 -1
.github/workflows/check.yaml CHANGED
@@ -39,7 +39,7 @@ jobs:
39
  DBPASS: postgres
40
  SECRET_KEY: django-insecure-key-${{ github.run_id }}-${{ github.run_attempt }}
41
  run: |
42
- python src/manage.py collectstatic
43
  python3 -m pytest | tee pytest-coverage.txt
44
  - name: Pytest coverage comment
45
  uses: MishaKav/pytest-coverage-comment@main
 
39
  DBPASS: postgres
40
  SECRET_KEY: django-insecure-key-${{ github.run_id }}-${{ github.run_attempt }}
41
  run: |
42
+ set -o pipefail
43
  python3 -m pytest | tee pytest-coverage.txt
44
  - name: Pytest coverage comment
45
  uses: MishaKav/pytest-coverage-comment@main