Skip to content

Cover RealPostBookkeepingReader #6

Cover RealPostBookkeepingReader

Cover RealPostBookkeepingReader #6

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
api-level:
- 29
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref || github.ref }}
fetch-depth: 0
persist-credentials: false
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Grant execute permission for Gradlew
run: chmod +x gradlew
- name: Build and Test with Coverage
run: ./gradlew build koverXmlReport --stacktrace
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/kover/coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
verbose: true