Skip to content

Commit 50e63a7

Browse files
committed
update code coverage to codecov app
1 parent 8af52fc commit 50e63a7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v3
19-
19+
with:
20+
# required for correct codecov upload
21+
fetch-depth: 0
2022
- name: Set up JDK 11
2123
uses: actions/setup-java@v3
2224
with:
@@ -28,6 +30,13 @@ jobs:
2830
- name: Build and run tests
2931
run: |
3032
gradle clean build --no-daemon --info
33+
- name: Upload gradle reports
34+
if: ${{ always() }}
35+
uses: actions/upload-artifact@v3
36+
with:
37+
name: gradle-reports
38+
path: '**/build/reports/'
39+
retention-days: 1
3140
- name: Upload coverage reports to Codecov
3241
uses: codecov/codecov-action@v3
3342
env:

0 commit comments

Comments
 (0)