Skip to content

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

brenuart added 24 commits August 5, 2021 23:43
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.

3 participants