mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
A nightly check skips unless -Dnightly.checks.enabled=true, but Quarkus builds the application of every profile a run's classes use while JUnit discovers the tests, before any class is skipped, and keeps it for the rest of the JVM. Six profiles are used only by nightly checks, so every routine run built and held six applications for classes that never run. Surefire now excludes **/*NightlyIntegrationTest.java by default, and a nightly-checks profile, active when nightly.checks.enabled is true, takes the exclusion away again. The nightly workflow already passes that flag, so it runs the checks as before; a CI shard and a local ./mvnw test no longer discover them. The default **/*$* exclude stays, since a configured list replaces it.