You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "adityamparikh (via GitHub)" <gi...@apache.org> on 2026/05/02 16:25:41 UTC
[PR] ci: add PR validation workflow with unit/integration test split [solr-mcp]
adityamparikh opened a new pull request, #118:
URL: https://github.com/apache/solr-mcp/pull/118
## Summary
- Adds `.github/workflows/ci.yml` to validate every PR against `main` with four jobs: **build** (compile + `spotlessCheck`), **unit-tests**, **integration-tests** (Testcontainers), and a label-gated **solr-compatibility** matrix.
- Splits the existing test surface into separate `unitTest` and `integrationTest` Gradle tasks using JUnit 5 tag filtering. The existing `test` task is unchanged.
- Tags 9 Testcontainers-based test classes with `@Tag("integration")` so the split is deterministic (some classes — `SolrConfigTest`, `DistributedTracingTest` — don't follow the `*IntegrationTest` naming convention).
- Removes the duplicate `pull_request` trigger from `build-and-publish.yml` so PRs get a single, focused signal.
Once this lands, every newly opened or updated PR runs CI automatically. To flush already-open PRs through the new pipeline, a maintainer can close + reopen each one (`pull_request: reopened` fires the workflow).
## Test plan
- [ ] CI workflow runs on this PR itself (build + unit-tests + integration-tests jobs all green).
- [ ] `solr-compatibility` job stays skipped without the `solr-compatibility` label.
- [ ] Apply `solr-compatibility` label and confirm the 4-version matrix runs and passes.
- [ ] After merge, open or reopen a sample existing PR and confirm CI fires automatically.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] ci: add PR validation workflow with unit/integration test split [solr-mcp]
Posted by "adityamparikh (via GitHub)" <gi...@apache.org>.
adityamparikh commented on PR #118:
URL: https://github.com/apache/solr-mcp/pull/118#issuecomment-4364246517
Superseded by #117, which already added the same `ci.yml` workflow to upstream main.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] ci: add PR validation workflow with unit/integration test split [solr-mcp]
Posted by "adityamparikh (via GitHub)" <gi...@apache.org>.
adityamparikh closed pull request #118: ci: add PR validation workflow with unit/integration test split
URL: https://github.com/apache/solr-mcp/pull/118
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org