Set up venv
Some checks failed
CI / Formatting (push) Successful in 39s
CI / Clippy (push) Successful in 37s
CI / Build (and tests, for now) (push) Failing after 1m1s

This commit is contained in:
Michael Bradley 2025-02-23 07:35:40 -05:00
parent 459dc4b588
commit 4354000e33
Signed by: MichaelBradley
SSH key fingerprint: SHA256:cj/YZ5VT+QOKncqSkx+ibKTIn0Obg7OIzwzl9BL8EO8

View file

@ -44,10 +44,16 @@ jobs:
python-version: "3.13"
cache: pip
- name: Set up the Python environment
run: pip install -r requirements.txt
# For most Python CI stuff this isn't needed, but maturin specifically doesn't like to function without a venv
run: |
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- name: Build Rust code
run: maturin develop
- name: Run Python tests
run: pytest tests/*.py
run: |
source venv/bin/activate
pytest tests/*.py
- name: Run Rust tests
run: cargo test