Skip to content

Commit

Permalink
Fix code coverage report (#975) (#976)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <[email protected]>
(cherry picked from commit 0316dc4)

Co-authored-by: Martin Gaievski <[email protected]>
  • Loading branch information
1 parent 0d5a8e9 commit 680843d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
su `id -un 1000` -c "./gradlew check"
- name: Upload Coverage Report
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
15 changes: 15 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
coverage:
# displays different colors depending on below, between, or above the range
range: 50..90
status:
project:
enabled: yes
default:
target: auto
# allows 5% coverage reduction without failing
threshold: 5%
patch: yes
changes: yes

# disable comments in PRs
comment: yes

0 comments on commit 680843d

Please sign in to comment.