debian/tests/pytest
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | cp -a debian/run_tests pyproject.toml jupyter_client tests "$AUTOPKGTEST_TMP" |
| 6 | cd "$AUTOPKGTEST_TMP" |
| 7 | |
| 8 | export JUPYTER_PLATFORM_DIRS=1 |
| 9 | jupyter --paths |
| 10 | |
| 11 | # skipping test_runapp due to messy interactions with non-default python versions |
| 12 | |
| 13 | for py in $(py3versions -s) |
| 14 | do |
| 15 | echo "Testing with $py:" |
| 16 | ./run_tests $py -m pytest -v -k 'not test_runapp' |
| 17 | done |