Skip to content

Commit

Permalink
Removed codecov (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
KieranWardle authored Jul 24, 2024
1 parent 8a3e186 commit 43195e7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 25 deletions.
10 changes: 0 additions & 10 deletions .codecov.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/checks-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
33 changes: 27 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,33 @@
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<id>report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>jacoco-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>LINE</counter>
<value>COVEREDRATIO</value>
<minimum>75%</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down

0 comments on commit 43195e7

Please sign in to comment.