#!/bin/sh
set -efu

cd "$AUTOPKGTEST_TMP"

for py in $(py3versions -s); do
	echo "Testing lap import and version with $py..."
	$py -c "import lap; print('lap version:', lap.__version__)"

	echo "Running pytest test suite with $py..."
	$py -m pytest -v --pyargs lap.tests
done
