| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
set -e -u |
| 4 |
|
| 5 |
cp -a pyproject.toml tests "${AUTOPKGTEST_TMP}" |
| 6 |
|
| 7 |
for py3vers in $(py3versions -s); do |
| 8 |
echo |
| 9 |
echo "***************************" |
| 10 |
echo "*** Testing with ${py3vers}" |
| 11 |
echo "***************************" |
| 12 |
echo |
| 13 |
cd ${AUTOPKGTEST_TMP} && \ |
| 14 |
echo -e "Content of current working folder:\n" && \ |
| 15 |
ls -la && \ |
| 16 |
echo -e "Running tests...\n" && \ |
| 17 |
${py3vers} -m pytest -sv tests -k 'not datetime_headers' && \ |
| 18 |
rm -rf .pytest_cache || exit 1 |
| 19 |
done |
| 20 |
|
| 21 |
echo |
| 22 |
|
| 23 |
exit 0 |