Another Coverage Try
This commit is contained in:
parent
663809ff27
commit
ea5ace0166
|
@ -5,8 +5,8 @@ on:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
|
@ -17,7 +17,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
chmod +x gradlew
|
chmod +x gradlew
|
||||||
./gradlew build jacocoTestCoverage
|
./gradlew build jacocoTestCoverage
|
||||||
|
- name: Upload Report
|
||||||
|
uses: 'actions/upload-artifact@v2'
|
||||||
|
with:
|
||||||
|
name: report.xml
|
||||||
|
paths: ${{ github.workspace }}/build/reports/jacoco/test/jacocoTestReport.xml
|
||||||
- name: Add coverage to PR
|
- name: Add coverage to PR
|
||||||
id: jacoco
|
id: jacoco
|
||||||
uses: madrapps/jacoco-report@v1.2
|
uses: madrapps/jacoco-report@v1.2
|
||||||
|
|
Loading…
Reference in New Issue