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

Upload Surefire reports for later troubleshooting #604

Merged
merged 24 commits into from
Aug 14, 2021
Merged

Conversation

brenuart
Copy link
Collaborator

@brenuart brenuart commented Aug 14, 2021

Upload surefire reports to ease troubleshooting failed tests afterwards.

  • configure build with actions/upload-artifact
  • configure surefire plugin to redirect output to file instead of console when building on Github (keep logs on the console when building on dev workstation)
  • automatically register a Junit5 Extension to log the start of each test to help determine test output boundaries in log output file
  • cleanup build.xml(indent, normalise action names, etc)
  • remove META-INF from .gitignore (auto-registration of Junit5 extension makes use of the "service" facility and requires some files in META-INF/services)
  • move Maven default JVM configuration into .mvn/jvm.config instead of environment variable

Don't fail  the build and let the surefire action report results and mark build as failed.
action does not have write permissions when executed from withi a workflow triggered by a fork issued from a PR
@brenuart brenuart merged commit 940fec4 into main Aug 14, 2021
@brenuart brenuart deleted the surefire-check branch August 14, 2021 09:07
@philsttr philsttr added this to the 7.0 milestone Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants