Debian Codegraph @

debian/tests/smoke

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