mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 16:22:17 -05:00
revert coverage changes
This commit is contained in:
2
.github/workflows/checks.yml
vendored
2
.github/workflows/checks.yml
vendored
@@ -54,7 +54,7 @@ jobs:
|
|||||||
- name: Check for dead code
|
- name: Check for dead code
|
||||||
run: make dead-code
|
run: make dead-code
|
||||||
- name: Run tests with coverage
|
- name: Run tests with coverage
|
||||||
run: poetry run coverage run --omit=*/notification_utils/*,*/migrations/* -m pytest --maxfail=10
|
run: poetry run coverage run --omit=*/migrations/* -m pytest --maxfail=10
|
||||||
env:
|
env:
|
||||||
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
||||||
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -81,7 +81,7 @@ test: ## Run tests and create coverage report
|
|||||||
poetry run black .
|
poetry run black .
|
||||||
poetry run flake8 .
|
poetry run flake8 .
|
||||||
poetry run isort --check-only ./app ./tests
|
poetry run isort --check-only ./app ./tests
|
||||||
poetry run coverage run --omit=*/notifications_utils/*,*/migrations/* -m pytest --maxfail=10
|
poetry run coverage run --omit=*/migrations/* -m pytest --maxfail=10
|
||||||
|
|
||||||
poetry run coverage report -m --fail-under=95
|
poetry run coverage report -m --fail-under=95
|
||||||
poetry run coverage html -d .coverage_cache
|
poetry run coverage html -d .coverage_cache
|
||||||
|
|||||||
Reference in New Issue
Block a user