[CI] Add aggregate jacoco report (#370)

This commit is contained in:
Chris Bono
2023-03-11 21:51:17 -06:00
committed by GitHub
parent 1a2dcb8610
commit fd41a8f836
5 changed files with 73 additions and 304 deletions

View File

@@ -38,6 +38,19 @@ jobs:
run: |
./gradlew clean build -x integrationTest --continue --scan
- name: Create Aggregated Jacoco Report
if: contains(github.event.pull_request.labels.*.name, 'ci/upload-jacoco')
run: |
./gradlew aggregateJacocoTestReport --info
- name: Upload Aggregated Jacoco Report
if: contains(github.event.pull_request.labels.*.name, 'ci/upload-jacoco')
uses: actions/upload-artifact@v3
with:
name: jacoco-results
path: 'build/reports/jacoco/**/*.*'
retention-days: 3
- name: Run integration tests
run: |
./gradlew integrationTest --rerun-tasks -DdownloadRabbitConnector=true --scan
@@ -49,11 +62,3 @@ jobs:
name: test-results
path: '*/build/reports/tests/**/*.*'
retention-days: 3
- name: Capture Jacoco Results
if: contains(github.event.pull_request.labels.*.name, 'ci/upload-jacoco')
uses: actions/upload-artifact@v3
with:
name: jacoco-results
path: '*/build/reports/jacoco/**/*.*'
retention-days: 3