Skip to content

Commit

Permalink
fixed tox
Browse files Browse the repository at this point in the history
  • Loading branch information
proafxin committed Jun 16, 2024
1 parent 45a3c47 commit 4eb0f3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ basepython = python3
recreate = false
deps = poetry

commands =
poetry install --with dev


[testenv:tests]

commands =
poetry install --with dev
poetry run coverage run --source=. --omit=tracker/main.py -m pytest
poetry run coverage report -m --fail-under=90

[testenv:coverage]
commands = poetry run coverage xml -o coverage.xml
commands =
poetry install --with dev
poetry run coverage xml -o coverage.xml

[testenv:runserver]
commands = poetry run fastapi dev tracker/main.py
Expand Down

0 comments on commit 4eb0f3d

Please sign in to comment.