PR#143 Fix tests can't run on API 21
Seems like jacoco androidTestCoverage breaks tests on API 21 with Resource.NotFound for some reason. It works well on newer API levels. To workaround it, we simply disable that coverage for CI.
This commit is contained in:
parent
49b7b630f0
commit
a37c6a4a3d
3 changed files with 7 additions and 4 deletions
2
.github/workflows/pull-request-jobs.yml
vendored
2
.github/workflows/pull-request-jobs.yml
vendored
|
|
@ -122,7 +122,7 @@ jobs:
|
|||
force-avd-creation: false
|
||||
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
||||
disable-animations: true
|
||||
script: ./gradlew connectedDebugAndroidTest
|
||||
script: ./gradlew connectedDebugAndroidTest -PdisableAndroidTestCoverage=true
|
||||
- name: Upload Test Results
|
||||
uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue