diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 280d2566e..dd0fe3275 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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 diff --git a/Makefile b/Makefile index 4273f7b7e..e86cfc1c3 100644 --- a/Makefile +++ b/Makefile @@ -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