-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #547 from KotlinIsland/adopt-kover
Switch from jacoco to kotlinx-Kover
- Loading branch information
Showing
2 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ jobs: | |
# Run tests | ||
- name: Run Tests | ||
run: ./gradlew test jacocoTestReport --info | ||
run: ./gradlew check | ||
|
||
# Collect Tests Result of failed tests | ||
- name: Collect Tests Result | ||
|
@@ -96,6 +96,13 @@ jobs: | |
name: tests-result | ||
path: ${{ github.workspace }}/build/reports/tests | ||
|
||
# Upload Kover report to CodeCov | ||
- name: Upload Code Coverage Report | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: ${{ github.workspace }}/build/reports/kover/xml/report.xml | ||
fail_ci_if_error: true | ||
|
||
# Cache Plugin Verifier IDEs | ||
- name: Setup Plugin Verifier IDEs Cache | ||
uses: actions/[email protected] | ||
|
@@ -151,13 +158,6 @@ jobs: | |
cp CHANGELOG.md docs | ||
mkdocs build --verbose --clean --strict | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./build/reports/jacoco/test/jacocoTestReport.xml | ||
flags: unittests | ||
fail_ci_if_error: true | ||
# Prepare a draft release for GitHub Releases page for the manual verification | ||
# If accepted and published, release workflow would be triggered | ||
|
@@ -194,4 +194,4 @@ jobs: | |
--notes "$(cat << 'EOM' | ||
${{ needs.build.outputs.changelog }} | ||
EOM | ||
)" | ||
)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters