Disable 2nd attempt to run the tests.
This commit is contained in:
parent
2e8b6e4eb9
commit
6ac9a7627b
32
.github/workflows/tests.yml
vendored
32
.github/workflows/tests.yml
vendored
@ -54,22 +54,22 @@ jobs:
|
|||||||
./gradlew instrumentationTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
|
./gradlew instrumentationTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
|
||||||
./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES
|
./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES
|
||||||
# NB: continue-on-error marks steps.tests.conclusion = 'success' but leaves steps.tests.outcome = 'failure'
|
# NB: continue-on-error marks steps.tests.conclusion = 'success' but leaves steps.tests.outcome = 'failure'
|
||||||
- name: Run all the codecoverage tests at once (retry if emulator failed)
|
### - name: Run all the codecoverage tests at once (retry if emulator failed)
|
||||||
uses: reactivecircus/android-emulator-runner@v2
|
### uses: reactivecircus/android-emulator-runner@v2
|
||||||
if: always() && steps.tests.outcome == 'failure' # don't run if previous step succeeded.
|
### if: always() && steps.tests.outcome == 'failure' # don't run if previous step succeeded.
|
||||||
with:
|
### with:
|
||||||
api-level: 28
|
### api-level: 28
|
||||||
arch: x86
|
### arch: x86
|
||||||
profile: Nexus 5X
|
### profile: Nexus 5X
|
||||||
force-avd-creation: false
|
### force-avd-creation: false
|
||||||
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
### emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
||||||
disable-animations: true
|
### disable-animations: true
|
||||||
emulator-build: 7425822
|
### emulator-build: 7425822
|
||||||
script: |
|
### script: |
|
||||||
./gradlew gatherGplayDebugStringTemplates $CI_GRADLE_ARG_PROPERTIES
|
### ./gradlew gatherGplayDebugStringTemplates $CI_GRADLE_ARG_PROPERTIES
|
||||||
./gradlew unitTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
|
### ./gradlew unitTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
|
||||||
./gradlew instrumentationTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
|
### ./gradlew instrumentationTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
|
||||||
./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES
|
### ./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES
|
||||||
|
|
||||||
# we may have failed a previous step and retried, that's OK
|
# we may have failed a previous step and retried, that's OK
|
||||||
- name: Publish results to Sonar
|
- name: Publish results to Sonar
|
||||||
|
Loading…
Reference in New Issue
Block a user