Skip to content

Commit

Permalink
CHO: Update tox.ini to use poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Oct 15, 2024
1 parent 9a56d76 commit 3c5157a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[tox]
isolated_build = true
envlist = {py38,py39}

[testenv]
allowlist_externals = poetry
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/twined
commands =
coverage run --source twined -m unittest discover
coverage report --show-missing
coverage xml
deps = -r requirements-dev.txt
poetry install -v
poetry run coverage run --source octue -m unittest discover
poetry run coverage report --show-missing
poetry run coverage xml

0 comments on commit 3c5157a

Please sign in to comment.