-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
12 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 |
---|---|---|
|
@@ -33,21 +33,13 @@ jobs: | |
- name: Unit tests | ||
run: ./gradlew testDebugUnitTest | ||
- name: Kover report | ||
run: ./gradlew koverMergedReport | ||
# - name: Add coverage report to PR | ||
# id: kover | ||
# uses: mi-kas/[email protected] | ||
# with: | ||
# path: ${{ github.workspace }}/build/reports/kover/merged/xml/report.xml | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
# title: Code Coverage | ||
# update-comment: true | ||
# min-coverage-overall: 80 | ||
# min-coverage-changed-files: 80 | ||
run: ./gradlew koverHtmlReport koverXmlReport | ||
- name: Kover dump | ||
run: ./gradlew koverDump -q | ||
- name: Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: ./build/reports/kover/merged/xml/report.xml | ||
files: ./build/reports/kover/report.xml | ||
flags: unittests | ||
verbose: true | ||
- name: Upload reports | ||
|
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<html> | ||
<head> | ||
<title>Code Coverage</title> | ||
<link rel="stylesheet" | ||
href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" | ||
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" | ||
crossorigin="anonymous"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div class="page-header"> | ||
<h1>Code Coverage</h1> | ||
</div> | ||
<p class="lead">Code coverage reports for each module. <span class="glyphicon glyphicon glyphicon-remove text-danger" aria-hidden="true"></span> indicates no report available.</p> | ||
<table class="table table-striped table-bordered"> | ||
<tr> | ||
<th width="60%">Module</th> | ||
<th>Coverage Report</th> | ||
<th>Coverage</th> | ||
</tr> | ||
$codeQuality | ||
</table> | ||
</div> | ||
</body> | ||
</html> |