Skip to content

Commit

Permalink
define package root
Browse files Browse the repository at this point in the history
  • Loading branch information
gousteris committed Aug 30, 2023
1 parent 05de87e commit 4dbc753
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@ setenv =
PIP_PROCESS_DEPENDENCY_LINKS=1
PIP_DEFAULT_TIMEOUT=60
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
envdir = {package_root}/.virtualenvs/ducktape_{envname}
envdir = .virtualenvs/ducktape_{envname}
commands =
pytest {env:PYTESTARGS:} {posargs}

[testenv:py36]
envdir = {package_root}/.virtualenvs/ducktape-py36
envdir = .virtualenvs/ducktape-py36

[testenv:py37]
envdir = {package_root}/.virtualenvs/ducktape-py37
envdir = .virtualenvs/ducktape-py37

[testenv:py38]
envdir = {package_root}/.virtualenvs/ducktape-py38
envdir = .virtualenvs/ducktape-py38

[testenv:style]
basepython = python3.8
envdir = {package_root}/.virtualenvs/ducktape
envdir = .virtualenvs/ducktape
commands =
flake8 --config tox.ini

[testenv:cover]
basepython = python3.8
envdir = {package_root}/.virtualenvs/ducktape
envdir = .virtualenvs/ducktape
commands =
pytest {env:PYTESTARGS:} --cov ducktape --cov-report=xml --cov-report=html --cov-report=term --cov-report=annotate:textcov \
--cov-fail-under=70
Expand Down

0 comments on commit 4dbc753

Please sign in to comment.