| 1 | #!/bin/sh |
| 2 | set -eu |
| 3 | |
| 4 | cp -a setup.cfg tests "$AUTOPKGTEST_TMP" |
| 5 | |
| 6 | for py3vers in $(py3versions -s); do |
| 7 | echo |
| 8 | echo "***************************" |
| 9 | echo "*** Testing with ${py3vers}" |
| 10 | echo "***************************" |
| 11 | echo |
| 12 | cd ${AUTOPKGTEST_TMP} && \ |
| 13 | echo "Content of current working folder:\n" && \ |
| 14 | ls -la && \ |
| 15 | echo "Running tests...\n" && \ |
| 16 | PYTHONPATH=. ${py3vers} -m pytest -sv && \ |
| 17 | rm -rf .pytest_cache || exit 1 |
| 18 | done |