#!/bin/sh # vim: sw=2 ts=2 et set -e for py in $(py3versions --supported); do TEMP_DIR=$(mktemp -d) # Copy tests somewhere else to ensure we are testing the installed version cp -a ./tests $TEMP_DIR/ cp pyproject.toml $TEMP_DIR/ cd $TEMP_DIR PYTHONPATH=$PWD $py -m pytest --verbosity 2 done