Run all tests for jupyter_server regardless of failure

This commit is contained in:
yuvipanda
2019-06-04 14:42:49 +02:00
parent 8f7e25f9a1
commit e9bc25cce0

View File

@@ -65,7 +65,8 @@ script:
if [[ "$TEST" == "jupyter_server" ]]; then if [[ "$TEST" == "jupyter_server" ]]; then
pip uninstall notebook --yes pip uninstall notebook --yes
pip install jupyter_server pip install jupyter_server
pytest -v --maxfail=2 --cov=jupyterhub jupyterhub/tests # Run all tests regardless of failure, so we know what's up
pytest -v --cov=jupyterhub jupyterhub/tests
# Make sure that the notebook package is still not installed # Make sure that the notebook package is still not installed
pip list | grep notebook pip list | grep notebook
test $? -eq 1 test $? -eq 1