mooc-software-testing icon indicating copy to clipboard operation
mooc-software-testing copied to clipboard

ignoring unnecessarily generated surefire report

Open optimizing-ci-builds opened this issue 1 year ago • 2 comments

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.

optimizing-ci-builds avatar Mar 20 '23 17:03 optimizing-ci-builds

Please make it regenerated

On Mon, 20 Mar, 2023, 10:59 pm optimizing-ci-builds, < @.***> wrote:

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.

You can view, comment on, or merge this pull request online at:

https://github.com/SERG-Delft/mooc-software-testing/pull/28 Commit Summary

File Changes

(1 file https://github.com/SERG-Delft/mooc-software-testing/pull/28/files)

Patch Links:

  • https://github.com/SERG-Delft/mooc-software-testing/pull/28.patch
  • https://github.com/SERG-Delft/mooc-software-testing/pull/28.diff

— Reply to this email directly, view it on GitHub https://github.com/SERG-Delft/mooc-software-testing/pull/28, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMSZAWXYFY6ZMO5GELASHY3W5CHZNANCNFSM6AAAAAAWBMT3HM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

koushike avatar Mar 21 '23 08:03 koushike

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.

optimizing-ci-builds avatar Mar 22 '23 19:03 optimizing-ci-builds