Commit 9a958c1
ci: fix incremental build to test dependents of test-infra modules (#22514)
The incremental build script classified modules as "testable" only when
they had a src/test directory. Modules with only src/main (like
test-infra/* modules) were treated as pom-only and their dependents
were not tested with -amd. This meant changes to test infrastructure
(e.g. container version bumps) never triggered integration tests in
consuming modules like camel-infinispan.
Fix by checking for src/main instead of src/test. Modules with source
code should trigger dependent testing; only true pom-only modules
(parent, aggregator poms) should be excluded from -amd expansion.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 19faac1 commit 9a958c1
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
591 | | - | |
592 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
593 | 595 | | |
594 | 596 | | |
595 | 597 | | |
596 | | - | |
| 598 | + | |
597 | 599 | | |
598 | 600 | | |
599 | 601 | | |
600 | | - | |
| 602 | + | |
601 | 603 | | |
602 | 604 | | |
603 | 605 | | |
| |||
0 commit comments