Skip to content

Commit

Permalink
ci/cirrus: remove tox
Browse files Browse the repository at this point in the history
  • Loading branch information
abn authored and edvardm committed Nov 24, 2021
1 parent 49f2530 commit 7bcdd0e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ test_task:
- pkg install -y git-lite curl $PYPACKAGE $SQLPACKAGE
pip_script:
- $PYTHON -m ensurepip
- $PYTHON -m pip --disable-pip-version-check install -U pip tox virtualenv
- $PYTHON -m pip --disable-pip-version-check install -U pip
poetry_script:
- curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py \
| $PYTHON - -y
- poetry config virtualenvs.in-project true
tox_script: $PYTHON -m tox -e py -- -q --junitxml=junit.xml tests
test_script: |
poetry install
poetry run pytest -q --junitxml=junit.xml tests
on_failure:
annotate_failure_artifacts:
path: junit.xml
Expand Down

0 comments on commit 7bcdd0e

Please sign in to comment.