ci: Simplify module configuration and extend test coverage#1840
ci: Simplify module configuration and extend test coverage#1840mllwchrry wants to merge 1 commit intobitcoin-core:masterfrom
Conversation
|
Concept ACK This simplifies the CI file and it gives us more test coverage. cc @hebasto I kicked CI. The failed runs all had some network/GHA issues. |
Sorry, apparently I only claimed it but didn't actually press the button. Done now, let's see. |
hebasto
left a comment
There was a problem hiding this comment.
Concept ACK.
Would it be possible to keep the current approach where a single module is enabled while other modules are disabled, and vice versa? This helps to ensure that they are fully independent of each other.
Can you clarify? Are you suggesting doing both of the following?
If yes, then I don't think we currently do 1, or do we? (You said "keep the current approach...") |
We do this for the Recovery module. Here: secp256k1/.github/workflows/ci.yml Lines 98 to 99 in c1a9e4f Here (almost): secp256k1/.github/workflows/ci.yml Lines 102 to 103 in c1a9e4f And here: secp256k1/.github/workflows/ci.yml Lines 461 to 462 in c1a9e4f |
Thanks for the feedback! I wonder what's the failure scenario that the "disable one" approach misses? If A has an unguarded dependency on B, |
Enables all modules by default, and tests the disabling of each module separately (respecting the dependency chain). This simplifies the configuration of modules in CI and extends the test coverage.
The extended coverage is proven by exposing pre-existing issues fixed in #1837 and #1839.