Skip to content

Commit 4ffc47f

Browse files
committed
Publish test reports in GitHub Actions
1 parent 4b088e9 commit 4ffc47f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ jobs:
4646
# Note that bootBuildImage builds the image, but it's not pushed anywhere.
4747
# In the real world, you would push it somewhere using the --publishImage argument to bootBuildImage.
4848
arguments: build bootBuildImage -Pno-testcontainers
49+
- name: Publish Test Report
50+
uses: mikepenz/action-junit-report@v3
51+
if: success() || failure() # always run even if the previous step fails
52+
with:
53+
report_paths:
54+
- 'build/reports/**/TEST-*.xml'
55+
- 'build/reports/cypress/results-*.xml'
4956
- name: upload build reports
5057
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
5158
with:

0 commit comments

Comments
 (0)