Skip to content

Commit 87b52d5

Browse files
authored
Merge pull request #68 from rubensousa/codecov
Add missing kover task
2 parents 73dde2f + 1730f27 commit 87b52d5

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: gradle/actions/setup-gradle@v4
2626

2727
- name: Test
28-
run: ./gradlew --build-cache check --stacktrace
28+
run: ./gradlew --build-cache check koverXmlReport --stacktrace
2929

3030
- name: Upload coverage reports to Codecov
3131
uses: codecov/codecov-action@v5

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: gradle/actions/setup-gradle@v4
2222

2323
- name: Generate coverage report
24-
run: ./gradlew --build-cache check --stacktrace
24+
run: ./gradlew --build-cache check koverXmlReport --stacktrace
2525

2626
- name: Upload coverage reports to Codecov
2727
uses: codecov/codecov-action@v5

codecov.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: 80% # the required coverage value
6+
threshold: 1% # the leniency in hitting the target

0 commit comments

Comments
 (0)