Skip to content

Commit

Permalink
explicitly run pytest from env_bin_dir in tox envs
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Dec 12, 2024
1 parent edd207c commit 628bb31
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ deps =
pytest
pytest-mock

whitelist_externals=
python
pytest
download=true
commands = pytest --basetemp={envtmpdir} {env:pytest_args:} {posargs}
commands = {env_bin_dir}{/}pytest --basetemp={envtmpdir} {env:pytest_args:} {posargs}

[testenv:py{38,39,310,311,312,313}-PySide6]
passenv =
Expand All @@ -24,14 +21,9 @@ passenv =
LocalAppData
set_env =
QT_QPA_PLATFORM=offscreen
whitelist_externals=
python
pytest
download=true
deps =
pytest-qt
pytest
pytest-mock
-r requirements-dev.txt
-r requirements-gui.txt
commands = pytest --basetemp={envtmpdir} {env:pytest_args:} {posargs}

Expand Down

0 comments on commit 628bb31

Please sign in to comment.