#!/bin/sh

set -e

cp -r tests ${AUTOPKGTEST_TMP}
cp pytest.ini ${AUTOPKGTEST_TMP}

cd ${AUTOPKGTEST_TMP}

for py in $(py3versions -s); do
    echo "Testing with $py"
    $py -m pytest -v tests/
done
