chore: Upgrade kover to 0.9.1 (#238) #11
This file contains hidden or 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
name: Run code coverage | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | |
- name: Setup Java | |
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
- name: Run test and generate kover report | |
run: ./gradlew koverXmlReportCoverage | |
- name: Upload Test Report | |
uses: codecov/codecov-action@v5 | |
with: | |
name: report | |
files: build/reports/kover/reportCoverage.xml | |
token: ${{ secrets.CODECOV_TOKEN }} |