Test import of lr_autoreduce in CI pipeline#113
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #113 +/- ##
=======================================
Coverage 85.00% 85.00%
=======================================
Files 23 23
Lines 2841 2841
=======================================
Hits 2415 2415
Misses 426 426 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR modernizes the CI pipeline's conda package verification process by replacing a separate verification job with an integrated verification step using the neutrons/conda-verify GitHub Action. The PR also adds explicit import testing for the lr_autoreduce package and updates the pixi-build-python version constraint.
Changes:
- Replaces the standalone
conda-verifyjob with an integrated verification step in thebuildjob usingneutrons/conda-verify@v0.1.2action - Adds import tests for
lr_reduction,lr_autoreduce, andmantidpackages - Updates
pixi-build-pythonversion constraint from0.1.*to*in pyproject.toml
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| pyproject.toml | Relaxes pixi-build-python version constraint to wildcard |
| pixi.lock | Updates package version and removes editable flag (auto-generated) |
| .github/workflows/test_and_deploy.yml | Consolidates package verification into build job, adds import tests, updates job dependencies |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description of work:
Change the conda verify step to use the action
conda-verifyand add an extra command to check that after installing the conda packagelr_reduction, one can also import the new packagelr_autoreduce.Check all that apply:
References:
(Instructions for testing here)
Check list for the reviewer