Added code coverage test to pipfile/makefile/workflow (#472)

Co-authored-by: stvnrlly <steven.reilly@gsa.gov>
This commit is contained in:
Andrew Shumway
2023-04-28 09:17:02 -06:00
committed by GitHub
parent ae9d179be2
commit 948ee68193
5 changed files with 85 additions and 22 deletions

View File

@@ -28,8 +28,10 @@ jobs:
run: npm run lint
- name: Run js tests
run: npm test
- name: Run py tests
run: pipenv run pytest -n4 --maxfail=10
- name: Run py tests with coverage
run: pipenv run coverage run --omit=*/notifications_utils/* -m pytest --maxfail=10
- name: Check coverage threshold
run: pipenv run coverage report --fail-under=90
validate-new-relic-config:
runs-on: ubuntu-latest