Skip to content

Release/0.1.0

Release/0.1.0 #104

Workflow file for this run

name: Coverage
on:
pull_request:
push:
branches:
- main
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run tests and generate coverage report
run: ./gradlew koverXmlReport
- name: Add coverage report to PR
id: kover
uses: mi-kas/kover-report@v1
with:
path: |
${{ github.workspace }}/chat-android/build/reports/kover/report.xml
title: Code Coverage
update-comment: true
min-coverage-overall: 80
coverage-counter-type: LINE