Skip to content

Commit

Permalink
test: remove poetry references from tox
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Sep 21, 2021
1 parent ff39c29 commit 4291fee
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ isolated_build = true
skip_missing_interpreters = true

[testenv]
whitelist_externals = poetry
commands =
poetry install
poetry run pytest -v --cache-clear --cov="{toxinidir}" --cov-config="{toxinidir}/pyproject.toml" --cov-report term-missing --basetemp="{envtmpdir}" {posargs} --disable-pytest-warnings
pytest -v --cache-clear --cov="{toxinidir}" --cov-config="{toxinidir}/pyproject.toml" --cov-report term-missing --basetemp="{envtmpdir}" {posargs} --disable-pytest-warnings
deps =
pytest
pytest-cov
pytest-mock

[testenv:codecov]
passenv = CODECOV_TOKEN
Expand All @@ -20,8 +22,9 @@ skip_install = true

[testenv:lint]
commands =
poetry install
poetry run pre-commit run -a
pre-commit run -a
deps =
pre-commit

[testenv:release]
passenv = HOME
Expand Down

0 comments on commit 4291fee

Please sign in to comment.