Skip to content

Commit

Permalink
Merge pull request #842 from GSA/code_coverage
Browse files Browse the repository at this point in the history
fix code coverage reporting
  • Loading branch information
ccostino authored Mar 11, 2024
2 parents 8a6cc76 + 6c4c8b0 commit d7edf32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ jobs:
NOTIFY_E2E_TEST_HTTP_AUTH_USER: ${{ secrets.NOTIFY_E2E_TEST_HTTP_AUTH_USER }}
NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
- name: Check coverage threshold
run: poetry run coverage report --fail-under=50
# TODO get this back up to 95
run: poetry run coverage report --fail-under=87

validate-new-relic-config:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ test: ## Run tests and create coverage report
poetry run black .
poetry run flake8 .
poetry run isort --check-only ./app ./tests
poetry run coverage run -m pytest -vv --maxfail=10
poetry run coverage run --omit=*/notifications_utils/* -m pytest --maxfail=10
poetry run coverage report -m --fail-under=95
poetry run coverage html -d .coverage_cache

Expand Down

0 comments on commit d7edf32

Please sign in to comment.