#!/bin/sh -e

# when run locally the system HOME is not available
export HOME=${AUTOPKGTEST_TMP}

cp -r tests ${AUTOPKGTEST_TMP}

cd ${AUTOPKGTEST_TMP}

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