diff --git a/.cirrus.yml b/.cirrus.yml index e37c93a5ac2..98088aa6e02 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -16,11 +16,9 @@ test_task: - pkg install -y git-lite $PYPACKAGE $SQLPACKAGE pip_script: - $PYTHON -m ensurepip - - $PYTHON -m pip install pip -U - - $PYTHON -m pip install poetry -U - - $PYTHON -m poetry config virtualenvs.in-project true - deps_script: $PYTHON -m poetry install - test_script: $PYTHON -m poetry run pytest -q --junitxml=junit.xml tests + - $PYTHON -m pip install -U pip tox poetry + - poetry config virtualenvs.in-project true + tox_script: $PYTHON -m tox -e py -- -q --junitxml=junit.xml tests on_failure: annotate_failure_artifacts: path: junit.xml