Check coverage in actions without omit

This commit is contained in:
Andrew Shumway
2023-04-18 14:27:56 -06:00
parent 1047b70792
commit 17c6083f6d

View File

@@ -47,7 +47,7 @@ jobs:
- name: Check imports alphabetized
run: pipenv run isort --check-only ./app ./tests
- name: Run tests with coverage
run: pipenv run coverage run --omit=*/notifications_utils/* -m pytest -n4 --maxfail=10
run: pipenv run coverage run -m pytest -n4 --maxfail=10
- name: Check coverage threshold
run: pipenv run coverage report --fail-under=50
env: