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

ignoring unnecessarily generated surefire report #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

optimizing-ci-builds
Copy link

In our analysis, we observe that this target/surefire-report/ directory is generated but not later used during the CI build. Hence, we propose to disable generating this directory to save runtime.
The generation of this directory can be disabled by simply adding -DdisableXmlReport=true to the mvn command.

@koushike
Copy link

koushike commented Mar 21, 2023 via email

@optimizing-ci-builds
Copy link
Author

optimizing-ci-builds commented Mar 22, 2023

Do you mean you want to keep generating the surefire reports?
This project's build is being run on GH actions' machines and those machines are not saving the surefire reports. Therefore, continuing to generate the reports can slow down the build unnecessarily.
If I am mistaken, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants