mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
CI: Generate and archive kover report
This commit is contained in:
@@ -23,6 +23,17 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ./gradlew test $CI_GRADLE_ARG_PROPERTIES
|
run: ./gradlew test $CI_GRADLE_ARG_PROPERTIES
|
||||||
|
- name: Generate kover report
|
||||||
|
if: always()
|
||||||
|
run: ./gradlew koverMergedReport $CI_GRADLE_ARG_PROPERTIES
|
||||||
|
|
||||||
|
- name: Archive kover report
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: kover-results
|
||||||
|
path: |
|
||||||
|
**/build/reports/kover/merged
|
||||||
|
|
||||||
- name: Archive test results on error
|
- name: Archive test results on error
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|||||||
Reference in New Issue
Block a user