#!/bin/bash
set -e

for py in $(py3versions -r 2> /dev/null)
do
	echo "Testing with $py:"
	QT_LOGGING_RULES="default.debug=true" PYTEST_QT_API=pyqt5 xvfb-run -a $py -m pytest -v tests
done

