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:
Gergely Hegedus 2023-01-18 15:33:12 +02:00
parent 49b7b630f0
commit a37c6a4a3d
3 changed files with 7 additions and 4 deletions

View file

@ -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()