Skip to content

Commit b2e624e

Browse files
committed
fix: Coverage report is not displayed
Change-Id: I8ca7da707fda91a10ee265b644f67e5150db1f45
1 parent a0f2786 commit b2e624e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/Build.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,14 @@ jobs:
201201
heap-size: 600M
202202
script: ./gradlew connectedDemoDebugAndroidTest --daemon
203203

204-
- name: Run local tests (including Roborazzi) for the combined coverage report (only API 30)
205-
if: matrix.api-level == 30
204+
- name: Run local tests (including Roborazzi) for the combined coverage report (only API 34)
205+
if: matrix.api-level == 34
206206
# There is no need to verify Roborazzi tests to generate coverage.
207207
run: ./gradlew testDemoDebugUnitTest -Proborazzi.test.verify=false # Add Prod if we ever add JVM tests for prod
208208

209209
# Add `createProdDebugUnitTestCoverageReport` if we ever add JVM tests for prod
210-
- name: Generate coverage reports for Debug variants (only API 30)
211-
if: matrix.api-level == 30
210+
- name: Generate coverage reports for Debug variants (only API 34)
211+
if: matrix.api-level == 34
212212
run: ./gradlew createDemoDebugCombinedCoverageReport
213213

214214
- name: Upload test reports
@@ -218,8 +218,8 @@ jobs:
218218
name: test-reports-${{ matrix.api-level }}
219219
path: '**/build/reports/androidTests'
220220

221-
- name: Display local test coverage (only API 30)
222-
if: matrix.api-level == 30
221+
- name: Display local test coverage (only API 34)
222+
if: matrix.api-level == 34
223223
id: jacoco
224224
uses: madrapps/[email protected]
225225
with:
@@ -230,8 +230,8 @@ jobs:
230230
${{ github.workspace }}/**/build/reports/jacoco/**/*Report.xml
231231
token: ${{ secrets.GITHUB_TOKEN }}
232232

233-
- name: Upload local coverage reports (XML + HTML) (only API 30)
234-
if: matrix.api-level == 30
233+
- name: Upload local coverage reports (XML + HTML) (only API 34)
234+
if: matrix.api-level == 34
235235
uses: actions/upload-artifact@v4
236236
with:
237237
name: coverage-reports

0 commit comments

Comments
 (0)