testing: use pip vtk package to speed up sparrow tests
continuous-integration/drone/push Build is passing Details

fixes/response
Sebastian Heimann 4 months ago
parent 058e9c7b56
commit 5a4e5bfa15

@ -297,6 +297,7 @@ steps:
commands:
- ln -sf /pyrocko-test-data test/data
- pip3 install --no-deps --no-build-isolation --force-reinstall .
- pip3 install vtk --upgrade # newer vtk seems to speed up tests a lot
- xvfb-run -s '-screen 0 640x480x24' python3 -m coverage run --parallel-mode -m pytest -v test/gui test/base/test_obspy_compat.py::ObsPyCompatTestCase::test_obspy_fiddle test/base/test_obspy_compat.py::ObsPyCompatTestCase::test_obspy_snuffle
- for x in .coverage.* ; do mv $x $${x#.} ; done
@ -306,6 +307,7 @@ steps:
commands:
- ln -sf /pyrocko-test-data test/data
- pip3 install --no-deps --no-build-isolation --force-reinstall .
- pip3 install vtk --upgrade # newer vtk seems to speed up tests a lot
- xvfb-run -s '-screen 0 640x480x24' python3 -m coverage run --parallel-mode -m pytest -v test/gui test/base/test_obspy_compat.py::ObsPyCompatTestCase::test_obspy_fiddle test/base/test_obspy_compat.py::ObsPyCompatTestCase::test_obspy_snuffle
- for x in .coverage.* ; do mv $x $${x#.} ; done
environment:

Loading…
Cancel
Save