From 43195e70e9a12b43e39fca0847c554d33c00ba5d Mon Sep 17 00:00:00 2001 From: Kieran Wardle <23309814+KieranWardle@users.noreply.github.com> Date: Wed, 24 Jul 2024 15:04:31 +0100 Subject: [PATCH] Removed codecov (#68) --- .codecov.yml | 10 -------- .github/workflows/checks-and-tests.yml | 8 ------- Makefile | 2 +- pom.xml | 33 +++++++++++++++++++++----- 4 files changed, 28 insertions(+), 25 deletions(-) delete mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 5c9aca1..0000000 --- a/.codecov.yml +++ /dev/null @@ -1,10 +0,0 @@ -coverage: - status: - project: - default: - target: 65% - threshold: null - base: auto - -ignore: -- "src/tests/" \ No newline at end of file diff --git a/.github/workflows/checks-and-tests.yml b/.github/workflows/checks-and-tests.yml index 94f48fe..13ac78d 100644 --- a/.github/workflows/checks-and-tests.yml +++ b/.github/workflows/checks-and-tests.yml @@ -62,11 +62,3 @@ jobs: - name: Run Tests run: make test - - - 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 diff --git a/Makefile b/Makefile index d375b70..0466665 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ build: install docker-build build-no-test: install-no-test docker-build install-no-test: - mvn clean install -Dmaven.test.skip=true -Dexec.skip=true + mvn clean install -Dmaven.test.skip=true -Dexec.skip=true -Djacoco.skip=true format: mvn fmt:format diff --git a/pom.xml b/pom.xml index e218bd8..4487353 100644 --- a/pom.xml +++ b/pom.xml @@ -280,12 +280,33 @@ - report - prepare-package - - report - - + report + verify + + report + + + + jacoco-check + verify + + check + + + + + BUNDLE + + + LINE + COVEREDRATIO + 75% + + + + + +