Skip to content

Commit b7cb973

Browse files
committed
Update GMD workflow
- Add `--no-parallel --max-workers=1` (was not able to trigger the error locally whit this combination). - Remove useless `cleanManagedDevices` as devices are not persisted across runs. - Rename test reports artifact to `test-reports-GMD` similar to `test-reports-${{ matrix.api-level }}`. - Print disk space usage in case of failure.
1 parent c0ba97e commit b7cb973

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/Build.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,16 @@ jobs:
138138
run: ./gradlew packageDemoDebug packageDemoDebugAndroidTest
139139

140140
- name: Run instrumented tests with GMD
141-
run: ./gradlew cleanManagedDevices --unused-only &&
142-
./gradlew ciDemoDebugAndroidTest -Dorg.gradle.workers.max=1
141+
run: ./gradlew ciDemoDebugAndroidTest --no-parallel --max-workers=1
143142
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" -Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
144143

145144
- name: Upload test reports
146145
if: success() || failure()
147146
uses: actions/upload-artifact@v3
148147
with:
149-
name: test-reports
148+
name: test-reports-GMD
150149
path: '**/build/reports/androidTests'
150+
151+
- name: Print disk space usage
152+
if: failure()
153+
run: df -h

0 commit comments

Comments
 (0)