Use direct paths instead of activating venvs
This commit is contained in:
parent
daa4ac0436
commit
4f58df49c3
@ -105,10 +105,8 @@ for example in $(ls examples/ | grep -vE %{integration_tests_exc}); do
|
||||
%{python3} -c 'from setuptools.build_meta import build_wheel; build_wheel("dist")'
|
||||
if [ -d "tests/" ]; then
|
||||
%{python3} -m venv venv --system-site-packages
|
||||
. ./venv/bin/activate
|
||||
pip install dist/*.whl
|
||||
python -Pm pytest tests/
|
||||
deactivate
|
||||
./venv/bin/pip install dist/*.whl
|
||||
./venv/bin/python -Pm pytest tests/
|
||||
fi
|
||||
cd -
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user