Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish test reports in GitHub Actions #477

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ name: Build
on: # yamllint disable-line rule:truthy
- push

permissions:
checks: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -46,6 +49,13 @@ jobs:
# Note that bootBuildImage builds the image, but it's not pushed anywhere.
# In the real world, you would push it somewhere using the --publishImage argument to bootBuildImage.
arguments: build bootBuildImage -Pno-testcontainers
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: success() || failure() # always run even if the previous step fails
with:
report_paths:
- 'build/reports/**/TEST-*.xml'
- 'build/reports/cypress/results-*.xml'
- name: upload build reports
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
with:
Expand Down