Skip to content

Conversation

ScottDugas
Copy link
Collaborator

The usage of fileTree caused codeCoverageReport to have implicit dependences on every task that ran, but this is not what we want. I updated it to more directly depend on the jacoco output. I also updated it to explicitly mustRunAfter all test and jar tasks of the relevant sub projects.
By using mustRunAfter instead of dependsOn, I think it should allow running codeCoverageReport without running jar or test, which will work better with the pull_request workflow, where we run the tests in different jobs, and bring in the results to run codeCoverageReport.

The usage of `fileTree` caused codeCoverageReport to have implicit
dependences on every task that ran, but this is not what we want.
I updated it to more directly depend on the jacoco output.
I also updated it to explicitly mustRunAfter all test and jar
tasks of the relevant sub projects.
By using mustRunAfter instead of dependsOn, I think it should
allow running codeCoverageReport without running jar or test,
which will work better with the pull_request workflow, where
we run the tests in different jobs, and bring in the results
to run codeCoverageReport.
@ScottDugas ScottDugas added the build improvement Improvement to the build system label Sep 17, 2025
@ScottDugas ScottDugas marked this pull request as ready for review September 17, 2025 15:00
@alecgrieser alecgrieser merged commit 2cff177 into FoundationDB:main Sep 18, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build improvement Improvement to the build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants