FIX: Add infrastructure for python tests (#91)

Also integrated with CI and runs tests in documentation
This commit is contained in:
Nicolás Hatcher Andrés
2024-09-21 15:46:32 +02:00
committed by GitHub
parent 11df4a55c7
commit bf9a1ed9f4
8 changed files with 79 additions and 8 deletions

9
bindings/python/run_tests.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
python -m venv venv
source venv/bin/activate
# not sure why this is needed
pip install patchelf
pip install maturin
pip install pytest
maturin develop
pytest tests/