Update CI unit test job to generate full coverage report.
This commit is contained in:
parent
76c61409a4
commit
5ab988f625
|
@ -18,7 +18,9 @@ jobs:
|
||||||
command: ./gradlew assembleDebug
|
command: ./gradlew assembleDebug
|
||||||
- run:
|
- run:
|
||||||
name: unit-tests
|
name: unit-tests
|
||||||
command: ./gradlew test
|
command: |
|
||||||
|
./gradlew :subsonic-api:test :ultrasonic:testDebugUnitTest
|
||||||
|
./gradlew jacocoFullReport
|
||||||
- run:
|
- run:
|
||||||
name: lint
|
name: lint
|
||||||
command: ./gradlew lint
|
command: ./gradlew lint
|
||||||
|
@ -31,4 +33,7 @@ jobs:
|
||||||
key: gradle-cache-{{ checksum "dependencies.gradle" }}
|
key: gradle-cache-{{ checksum "dependencies.gradle" }}
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ultrasonic/build/reports
|
path: ultrasonic/build/reports
|
||||||
destination: reports
|
destination: reports
|
||||||
|
- store_artifacts:
|
||||||
|
path: build/reports/jacoco/jacocoFullReport/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue