FIX: Add infrastructure for python tests (#91)
Also integrated with CI and runs tests in documentation
This commit is contained in:
committed by
GitHub
parent
11df4a55c7
commit
bf9a1ed9f4
9
bindings/python/run_tests.sh
Executable file
9
bindings/python/run_tests.sh
Executable 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/
|
||||
Reference in New Issue
Block a user