Skip to content

Commit 51da225

Browse files
committed
Try to speed up CI
1 parent 2cb4bd9 commit 51da225

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ jobs:
5252
run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
5353
- name: Generate code coverage
5454
if: ${{ matrix.release_build && github.event_name != 'pull_request' }}
55-
run: ./mvnw -B -q -ff -ntp test
55+
# Exclude the `*-tests` integration modules: they have no main sources,
56+
# so they contribute zero to jacoco coverage, but their test suites
57+
# (Afterburner/Blackbird classpath-mode integration tests) are slow.
58+
run: ./mvnw -B -q -ff -ntp -pl '!afterburner-tests,!blackbird-tests' test
5659
- name: Publish code coverage
5760
if: ${{ matrix.release_build && github.event_name != 'pull_request' }}
5861
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0

0 commit comments

Comments
 (0)