Skip to content

Commit 52b05f7

Browse files
Codecov Uploader Update (commons-app#4673)
* Update codecov uploader and fix di folder for jacoco * Fix codecov uploader
1 parent ba85958 commit 52b05f7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/android.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ jobs:
1515
- name: Build with Gradle
1616
run: ./gradlew -Pcoverage testBetaDebugUnitTestCoverage
1717
- name: Upload Test Report
18-
run: bash <(curl -s https://codecov.io/bash) -f "app/build/reports/jacoco/testBetaDebugUnitTestCoverage/testBetaDebugUnitTestCoverage.xml"
18+
run: |
19+
curl -Os https://uploader.codecov.io/latest/linux/codecov
20+
chmod +x codecov
21+
./codecov -f "app/build/reports/jacoco/testBetaDebugUnitTestCoverage/testBetaDebugUnitTestCoverage.xml" -Z

jacoco.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ project.afterEvaluate {
5353
'**/Dagger*Component.class',
5454
'**/Dagger*Component$Builder.class',
5555
'**/*Module_*Factory.class',
56-
'**/di/module/*',
56+
'**/di/*',
5757
'**/*_Factory*.*',
5858
'**/*Module*.*',
5959
'**/*Dagger*.*',

0 commit comments

Comments
 (0)