Add CI testing #2

Manually merged
MichaelBradley merged 11 commits from actions into main 2025-02-23 09:29:58 -05:00
Showing only changes of commit 4354000e33 - Show all commits

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