Debian Codegraph @

debian/tests/upstream-tests

raw
1 #!/bin/sh
2
3 set -e -u
4 cp -a pyproject.toml 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 "${py3vers}" -m coverage run -m pytest -sv tests && \
17 rm -rf .pytest_cache .coverage* || exit 1
18 done
19
20 echo
21
22 exit 0