Skip to content

Update plugin org.jetbrains.kotlinx.kover to v0.7.3 #314

Update plugin org.jetbrains.kotlinx.kover to v0.7.3

Update plugin org.jetbrains.kotlinx.kover to v0.7.3 #314

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: test-on-${{matrix.java}}
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build with Gradle
continue-on-error: true
env:
CI: true
run: ./gradlew build
- uses: codecov/codecov-action@v3
with:
files: core/build/reports/kover/report.xml,rest/build/reports/kover/report.xml
- name: Test Report ${{matrix.java}}
uses: ScaCap/action-surefire-report@v1.7.2
with:
check_name: Test Report ${{matrix.java}}
report_paths: '**/build/test-results/test/TEST-*.xml'
fail_on_test_failures: true
fail_if_no_tests: true
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: upload artifacts
uses: actions/upload-artifact@v3
if: always()
with:
name: build-reports-jdk-${{matrix.java}}
path: "**/build/reports"