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
|
|
@ -256,7 +256,8 @@ To see an aggregated code coverage report:
|
|||
- task `runTestAndJacocoRootReport` will run all the sub modules reports and tests then run `jacocoRootReport`.
|
||||
|
||||
### Issues
|
||||
*One issue, is that the androidTest reports don't work with the sharedTest module setup, this issue is reported [here](https://issuetracker.google.com/issues/250130118)*
|
||||
- One issue, is that the androidTest reports don't work with the sharedTest module setup, this issue is reported [here](https://issuetracker.google.com/issues/250130118)
|
||||
- Another issue, is that seems like the tests fail with Resource.NotFound on API 21 if `enableAndroidTestCoverage` is true, so I disabled that for CI.
|
||||
|
||||
By shared test module setup I mean a module like `app-shared-test`, which has a dependency graph of:
|
||||
- app-shared-test -> app.main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue