#!/bin/sh
set -ex

cp -a -t $AUTOPKGTEST_TMP test pytest.ini setup.cfg plugins

cd ${AUTOPKGTEST_TMP}

# requires that the example plugin be installed (eg. using tox)
rm test/core/plugin_test.py

for py in `py3versions -s`; do
    printf '=-=-=-=-=-= Running tests for %s =-=-=-=-=-=\n' "$py"
    $py -m pytest -m "not dbt" test
done

# vim: set ts=4 sw=4 et si:
