Skip to content

Commit

Permalink
tox test env explicitly uses pytest and python from env_bin_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Dec 11, 2024
1 parent 4130d29 commit 07469c2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,17 @@ passenv =
FRAMEWORKDIR

[testenv]
deps =
pytest
pybind11
deps =-r requirements-dev.txt
passenv =
CONAN_USER_HOME
INCLUDE
LIB
LIBPATH
;install_command=python -I -m pip install {opts} {packages} -v --config-settings=conan_cache={env:CONAN_USER_HOME:{temp_dir}}{/}.conan

commands_pre =
python {tox_root}/contrib/get_linked_exiv2_version.py
{env_bin_dir}{/}python {tox_root}/contrib/get_linked_exiv2_version.py
commands =
pytest {posargs} --basetemp={envtmpdir} -o pythonpath=
[tox:jenkins]
command = pytest -v
{env_bin_dir}{/}pytest {posargs} --basetemp={envtmpdir} -o pythonpath=

[testenv:docs]
deps=
Expand Down

0 comments on commit 07469c2

Please sign in to comment.