Skip to content

Commit 9e46e7b

Browse files
author
Francisco
committed
fix(ci): use maturin build + pip install instead of maturin develop
- maturin develop requires an active virtualenv which is not available in the GitHub Actions environment - switch to maturin build --release which produces a wheel, then pip install the wheel directly — works cleanly without a venv
1 parent bb19cea commit 9e46e7b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ jobs:
140140
- name: "🦀 Build fc_parser Rust extension"
141141
run: |
142142
pip install maturin
143-
cd rust/fc_parser && maturin develop --release
143+
cd rust/fc_parser && maturin build --release
144+
pip install target/wheels/*.whl
144145
145146
- name: "✅ Run Pytest with Coverage"
146147
run: pytest tests/ --cov=src --cov-report=term-missing

0 commit comments

Comments
 (0)