From a51e1db8cddb8dca365b5c49b52a627305b69194 Mon Sep 17 00:00:00 2001 From: Kieran Wardle <23309814+KieranWardle@users.noreply.github.com> Date: Wed, 24 Jul 2024 15:04:24 +0100 Subject: [PATCH] Removed codecov (#49) --- .github/workflows/checks-and-tests.yml | 9 +-------- Makefile | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/checks-and-tests.yml b/.github/workflows/checks-and-tests.yml index c17bb7d..b7db0c2 100644 --- a/.github/workflows/checks-and-tests.yml +++ b/.github/workflows/checks-and-tests.yml @@ -62,11 +62,4 @@ jobs: - name: Check Docker Build run: make docker_build - - - name: Run Codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - # NB: fail_ci_if_error is enabled to make any teething issues with Codecov visible. - # If Codecov has outage issues in the future, this can be toggled to false to allow the action to pass. - fail_ci_if_error: true \ No newline at end of file + \ No newline at end of file diff --git a/Makefile b/Makefile index 3813f70..71ec66f 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ update_vulture_whitelist: lint: flake vulture unit_test: lint - APP_CONFIG=TestingConfig pipenv run pytest tests/unit --cov rh_ui --cov-report term-missing --cov-report xml + APP_CONFIG=TestingConfig pipenv run pytest tests/unit --cov rh_ui --cov-report html --cov-report term-missing --cov-fail-under 80 test: install unit_test integration_test