|
| 1 | +--- |
| 2 | +phase: quick |
| 3 | +plan: 260403-qhw |
| 4 | +subsystem: ci |
| 5 | +tags: [conda, ci, environment, packaging] |
| 6 | +dependency_graph: |
| 7 | + requires: [] |
| 8 | + provides: [conda-install-path, conda-ci-validation] |
| 9 | + affects: [.github/workflows/ci.yml] |
| 10 | +tech_stack: |
| 11 | + added: [conda-incubator/setup-miniconda@v3] |
| 12 | + patterns: [conda environment with pip editable install for non-conda-forge packages] |
| 13 | +key_files: |
| 14 | + created: |
| 15 | + - environment.yml |
| 16 | + modified: |
| 17 | + - .github/workflows/ci.yml |
| 18 | +decisions: |
| 19 | + - Use pip subsection in conda environment for matlab-mcp-python (not on conda-forge) while conda manages Python version |
| 20 | + - All conda-test run steps use shell bash -el {0} to activate environment via login shell profile as required by setup-miniconda |
| 21 | +metrics: |
| 22 | + duration: 51s |
| 23 | + completed: "2026-04-03" |
| 24 | + tasks_completed: 1 |
| 25 | + files_changed: 2 |
| 26 | +--- |
| 27 | + |
| 28 | +# Quick Task 260403-qhw: Add conda environment.yml and CI test Summary |
| 29 | + |
| 30 | +Conda install path enabled via environment.yml at repo root and validated end-to-end in CI using conda-incubator/setup-miniconda with module import checks and unit test run. |
| 31 | + |
| 32 | +## Tasks Completed |
| 33 | + |
| 34 | +| Task | Name | Commit | Files | |
| 35 | +|------|------|--------|-------| |
| 36 | +| 1 | Create environment.yml and add conda-test CI job | 5e286fe | environment.yml, .github/workflows/ci.yml | |
| 37 | + |
| 38 | +## What Was Built |
| 39 | + |
| 40 | +**environment.yml** — Conda environment specification at repo root: |
| 41 | +- Environment name: `matlab-mcp` |
| 42 | +- Channels: conda-forge, defaults |
| 43 | +- Python 3.12 managed by conda |
| 44 | +- pip subsection installs local package with `.[dev,monitoring]` extras (editable install) |
| 45 | + |
| 46 | +**conda-test CI job** — New job in `.github/workflows/ci.yml`: |
| 47 | +- `needs: lint` (consistent with all other test jobs) |
| 48 | +- `runs-on: ubuntu-latest` |
| 49 | +- Uses `conda-incubator/setup-miniconda@v3` with `environment-file: environment.yml` |
| 50 | +- Verifies server, auth, and hitl module imports |
| 51 | +- Runs full unit test suite excluding MATLAB engine tests and integration tests |
| 52 | +- All run steps use `shell: bash -el {0}` for conda environment activation |
| 53 | + |
| 54 | +## Deviations from Plan |
| 55 | + |
| 56 | +None - plan executed exactly as written. |
| 57 | + |
| 58 | +## Known Stubs |
| 59 | + |
| 60 | +None. |
| 61 | + |
| 62 | +## Self-Check: PASSED |
| 63 | + |
| 64 | +- environment.yml: EXISTS at repo root |
| 65 | +- conda-test job in CI: CONFIRMED (grep verified) |
| 66 | +- commit 5e286fe: EXISTS (git log confirmed) |
| 67 | +- Both YAML files parse without errors: CONFIRMED |
0 commit comments