#!/bin/sh

set -e -u -x

PYS=$(py3versions -s)

cp -r pyproject.toml ipyparallel/tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

for py in $PYS; do
    echo "Testing with $py:"
    $py -m pytest -v
done
