Skip to content

Commit

Permalink
Merge pull request #558 from UIUCLibrary/dev
Browse files Browse the repository at this point in the history
explicitly run pytest from env_bin_dir in tox envs
  • Loading branch information
henryborchers authored Dec 12, 2024
2 parents edd207c + d8a78c5 commit 4a8cbfb
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 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,16 +21,11 @@ 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}
commands = {env_bin_dir}{/}pytest --basetemp={envtmpdir} {env:pytest_args:} {posargs}

; ======================== tests ========================
[testenv:docs]
Expand Down

0 comments on commit 4a8cbfb

Please sign in to comment.