Skip to content

Release

Release #240

Workflow file for this run

name: Test coverage
on:
pull_request:
jobs:
collect_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: stevenleadbeater/kotlin-kover-action@main
id: kover-tests
with:
coverage-threshold: 80
repo-token: ${{ secrets.GITHUB_TOKEN }}
proxy-url: https://add-pr-comment-proxy-94idvmwyie-uc.a.run.app
- name: Check coverage
if: ${{(steps.kover-tests.outputs.line-coverage) < 80}}
shell: bash
run: exit "Line coverage expected to be > 80 but was ${{steps.kover-tests.outputs.line-coverage}}"