root: fix root dir for coverage

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-07-22 23:15:52 +02:00
parent 34189fcc06
commit 4c50769040
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ src_paths = ["authentik", "tests", "lifecycle"]
force_to_top = "*" force_to_top = "*"
[tool.coverage.run] [tool.coverage.run]
source = ["authentik"] source = ["."]
relative_files = true relative_files = true
omit = [ omit = [
"*/asgi.py", "*/asgi.py",
@ -20,6 +20,7 @@ omit = [
"*/migrations/*", "*/migrations/*",
"*/apps.py", "*/apps.py",
"website/", "website/",
"BaseEvalautor"
] ]
[tool.coverage.report] [tool.coverage.report]