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 # Run the make script
- name: Make build - name: Make build
run: make build run: make build
- name: Publish Test Report
- uses: actions/upload-artifact@v2 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() }} if: ${{ failure() }}
with: with:
name: artifacts name: artifacts