feat(integration-tests): Set up testing infrastructure for python binding library yscope_clp_core.#1950
feat(integration-tests): Set up testing infrastructure for python binding library yscope_clp_core.#1950Bill-hbrhbr wants to merge 3 commits intoy-scope:mainfrom
yscope_clp_core.#1950Conversation
WalkthroughThis pull request introduces a new integration test suite for the CLP core Python binding library. Changes include a test module validating docstring accessibility, conditional build configuration via a WITH_CORE flag in the build system, and new integration test tasks for assembling and testing Python wheels. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Ruff (0.14.14)integration-tests/tests/python-wheels/test_yscope_clp_core/__init__.py�[1;31mruff failed�[0m integration-tests/tests/python-wheels/test_yscope_clp_core/test_yscope_clp_core.py�[1;31mruff failed�[0m 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 |
yscope_clp_core.yscope_clp_core.
Description
This PR sets up the basic infrastructure for writing integration tests for
yscope-clp-core. While the setup itself is straightforward, the main problem it addresses is running Python linting against the integration test project whenyscope-clp-coreis installed:clp-sbinaryclp-s(GitHub CI)auditwheel repairfails whenclp-sis missing because its purpose is to bundle required shared libraries into the wheelIntroducing a
WITH_COREflag fortask python-wheels-yscope-clp-coreallows flexible workflows. The core binary is included only when it is required.This PR precedes #1934 to allow tests for
ClpArchiveWriterto be written directly, with minimal infrastructure overhead.Checklist
breaking change.
Validation performed
task lint:pyandtask tests:integration:python-wheels-yscope-clp-corepass independently. The CI passes as well.Summary by CodeRabbit
Tests
Chores