Skip to content

Commit 6cea621

Browse files
authored
Add codecov test report uploading (#4506)
1 parent b292090 commit 6cea621

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/agp-matrix.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,10 @@ jobs:
9393
reporter: java-junit
9494
output-to: step-summary
9595
fail-on-error: false
96+
97+
- name: Upload test results to Codecov
98+
if: ${{ !cancelled() }}
99+
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f
100+
with:
101+
token: ${{ secrets.CODECOV_TOKEN }}
102+
file: build/outputs/androidTest-results/**/*.xml

.github/workflows/integration-tests-ui.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,10 @@ jobs:
7272
fi
7373
if: env.SAUCE_USERNAME != null
7474

75+
76+
- name: Upload test results to Codecov
77+
if: ${{ !cancelled() }}
78+
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f
79+
with:
80+
token: ${{ secrets.CODECOV_TOKEN }}
81+
file: ./artifacts/*.xml

0 commit comments

Comments
 (0)