CI: Generate and archive kover report
This commit is contained in:
parent
46b6ba4417
commit
5d3ea10e30
1 changed files with 11 additions and 0 deletions
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
|
|
@ -23,6 +23,17 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- name: Run tests
|
||||
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
|
||||
if: failure()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue