-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 900 Bytes
/
analysis.yaml
File metadata and controls
31 lines (28 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: 'Analyse codebase'
on:
push:
branches: [ main ]
concurrency:
group: 'ktransport-analysis'
cancel-in-progress: true
jobs:
Analyse:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JAVA 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
check-latest: true
cache: 'gradle'
- name: Generate Test Coverage
run: ./gradlew koverXmlReport
- name: Uploading code coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./ktransport/build/reports/kover/xml/report.xml,./ktransport-ksp/build/reports/kover/xml/report.xml,./example/build/reports/kover/xml/report.xml,./gradle-plugin/build/reports/kover/xml/report.xml
fail_ci_if_error: true