Merge pull request #43 from netty/build-test-reports

Add a build step that uploads surefire test reports
This commit is contained in:
Chris Vest 2021-04-14 13:42:45 +02:00 committed by GitHub
commit 9c87dc8208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,8 +43,15 @@ jobs:
# Run the make script
- name: Make build
run: make build
- uses: actions/upload-artifact@v2
- name: Publish Test Report
uses: scacap/action-surefire-report@v1.0.7
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: '**/target/surefire-reports/TEST-*.xml'
commit: ${{ github.event.workflow_run.head_commit.id }}
check_name: Build test reports
- name: Upload build artefacts
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: artifacts