Skip to content
Snippets Groups Projects
Verified Commit 8416c178 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Run coverage measurements while testing.

parent 03e29c36
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ pytest = "^5.3"
pytest-django = "^3.7"
pytest-django-testing-postgresql = "^0.1"
tox = "^3.14"
pytest-cov = "^2.8"
[build-system]
requires = ["poetry>=0.12"]
......
......@@ -5,7 +5,7 @@ skipsdist = True
whitelist_externals = poetry
pytest
skip_install = true
commands = pytest --pylama biscuit/core/
commands = pytest --pylama --cov=biscuit biscuit/core/
[pylama]
linters = pycodestyle,pyflakes,radon
......@@ -26,3 +26,7 @@ django_settings_module = biscuit.core.settings
[pytest]
DJANGO_SETTINGS_MODULE = biscuit.core.settings
[coverage:run]
omit = */migrations/*
*/tests/*
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