Skip to content

Fuzzier coroutine

Fuzzier coroutine #503

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Run tests and generate coverage
run: ./gradlew koverXmlReport
- name: Upload coverage report artifact
uses: actions/upload-artifact@v4
with:
name: kover-report
path: build/reports/kover/report.xml
coverage-report:
needs: test
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- uses: actions/download-artifact@v4
with:
name: kover-report
path: build/reports/kover
- name: Add coverage report to PR
uses: mi-kas/kover-report@v1
with:
token: ${{ secrets.ACCESS_TOKEN }}
path: build/reports/kover/report.xml
title: Code Coverage
update-comment: true
min-coverage-overall: 50
min-coverage-changed-files: 55
coverage-counter-type: LINE