Repository navigation
Update Gradle command used for integration tests - #1311
Conversation
WalkthroughThis PR updates the CI workflow at .github/workflows/continuous-integration.yml. The per-project build step now invokes Gradle with the init-script and the assemble task, replacing the previous build invocation that excluded tests and javadoc. Specifically, it changes:
Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1311 +/- ##
=========================================
Coverage 88.49% 88.49%
Complexity 2479 2479
=========================================
Files 93 93
Lines 8228 8228
Branches 1623 1623
=========================================
Hits 7281 7281
Misses 474 474
Partials 473 473 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/continuous-integration.yml (1)
91-91: Add--stacktracefor easier CI debuggingMinor ergonomics: include
--stacktraceto get actionable failures in logs.Apply:
-./gradlew --init-script use-snapshot.gradle.kts assemble +./gradlew --init-script use-snapshot.gradle.kts --stacktrace assemble
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/continuous-integration.yml(1 hunks)
🔇 Additional comments (1)
.github/workflows/continuous-integration.yml (1)
91-91: Switch toassemblelooks appropriate for compile-only integration checksThis better matches the goal: ensure external projects compile against the snapshot without running tests/javadoc. One caveat:
assembleskips verification tasks that might have still run underbuild -x test -x javadocin some repos; that’s likely desired, but worth noting.If you want extra confidence, please confirm that at the root of caffeine and spring-framework,
assemblesuccessfully builds all relevant subprojects (no custom wiring hiding compile underbuildonly). You can verify by checking their Gradle docs/README or prior CI logs forgradlew assembleruns.
assembleshould work better than excluding tasks as we did before. See also ben-manes/caffeine#1925Summary by CodeRabbit