From cbcb955f1f294a8371a180866e6d8409b0d008ce Mon Sep 17 00:00:00 2001 From: Andrew Shumway Date: Tue, 18 Apr 2023 15:48:10 -0600 Subject: [PATCH] Moved env: flag under test run --- .github/workflows/checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 7f8d15c8c..261d16a61 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -47,11 +47,11 @@ jobs: - name: Check imports alphabetized run: pipenv run isort --check-only ./app ./tests - name: Run tests with coverage - run: pipenv run coverage run -m pytest -n4 --maxfail=10 - - name: Check coverage threshold - run: pipenv run coverage report --fail-under=50 + run: pipenv run coverage run --omit=*/notifications_utils/* -m pytest -n4 --maxfail=10 env: SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api + - name: Check coverage threshold + run: pipenv run coverage report --fail-under=50 validate-new-relic-config: runs-on: ubuntu-latest