Skip to content

Commit 25fa6d2

Browse files
committed
Update ci.yml
Fixed the CI smoke import by installing the package runtime dependencies before the import check. What changed: - In ./.github/workflows/ci.yml, the Windows job now runs: - pip install -e . --no-build-isolation - before python -c "import metbit; print(metbit.__version__); print(metbit.backend_info())" Why this fixes it: - metbit imports numpy and other runtime packages at import time. - The CI job was only installing build tooling, so the smoke import failed immediately on missing dependencies.
1 parent b82a629 commit 25fa6d2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ jobs:
110110
- name: Build extension (without OpenMP on Windows)
111111
run: python setup.py build_ext --inplace
112112

113+
- name: Install package runtime dependencies
114+
run: pip install -e . --no-build-isolation
115+
113116
- name: Smoke test import
114117
run: python -c "import metbit; print(metbit.__version__); print(metbit.backend_info())"
115118

0 commit comments

Comments
 (0)