import inline file #16
Workflow file for this run
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
name: Measure coverage | |
on: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Set up Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Generate kover coverage report | |
run: ./gradlew :jupyter-js:koverXmlReport | |
- name: Add coverage report to PR | |
id: kover | |
uses: mi-kas/kover-report@v1 | |
with: | |
path: | | |
${{ github.workspace }}/jupyter-js/build/reports/kover/report.xml | |
title: Code Coverage | |
update-comment: true | |
min-coverage-overall: 80 | |
min-coverage-changed-files: 80 | |
coverage-counter-type: LINE |