Skip to content
Snippets Groups Projects
Commit e2033a5c authored by Neda Moeini's avatar Neda Moeini
Browse files

Add coverage

parent 82236f17
No related branches found
No related tags found
1 merge request!2Feature/unit test for validations
...@@ -9,3 +9,4 @@ pytest ...@@ -9,3 +9,4 @@ pytest
pytest-django pytest-django
pytest-mock pytest-mock
faker faker
coverage
...@@ -5,6 +5,13 @@ envlist = py311 ...@@ -5,6 +5,13 @@ envlist = py311
deps = deps =
mypy mypy
ruff ruff
-r requirements.txt
commands = commands =
ruff check . ruff check .
mypy . mypy .
coverage erase
coverage run --source sage_validation -m pytest
coverage report --fail-under=90
coverage xml
coverage html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment