#!/bin/sh

set -e

cp -a pyproject.toml tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

export JUPYTER_PLATFORM_DIRS=1
jupyter --paths

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