Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,19 @@ precommit: lint

# checks min and max python versions
it: check-venv python-caches-clean tox-env-clean
. $(VENV_ACTIVATE_FILE); tox -e py38
. $(VENV_ACTIVATE_FILE); tox -e py310
. $(VENV_ACTIVATE_FILE); tox -e py38-unit
. $(VENV_ACTIVATE_FILE); tox -e py38-it
. $(VENV_ACTIVATE_FILE); tox -e py310-unit
. $(VENV_ACTIVATE_FILE); tox -e py310-it

it38: check-venv python-caches-clean tox-env-clean
. $(VENV_ACTIVATE_FILE); tox -e py38
. $(VENV_ACTIVATE_FILE); tox -e py38-it

it39: check-venv python-caches-clean tox-env-clean
. $(VENV_ACTIVATE_FILE); tox -e py39
. $(VENV_ACTIVATE_FILE); tox -e py39-it

it310: check-venv python-caches-clean tox-env-clean
. $(VENV_ACTIVATE_FILE); tox -e py310
. $(VENV_ACTIVATE_FILE); tox -e py310-it

check-all: lint test it

Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
###############################################################################
[tox]
envlist =
py38, py39, py310
py{38,39,310}-unit
py{38,39,310}-it
platform =
linux|darwin

Expand Down Expand Up @@ -40,8 +41,8 @@ setenv =
# applications behave identically, we also set LANG explicitly.
LANG=C
commands =
pytest --junitxml=junit-{envname}.xml
pytest -s it --junitxml=junit-{envname}-it.xml
unit: pytest --junitxml=junit-{envname}.xml
it: pytest -s it --junitxml=junit-{envname}.xml

whitelist_externals =
pytest