Omit migration tests from code coverage
This commit is contained in:
parent
a0e528a509
commit
bc197f9409
|
|
@ -1,3 +1,6 @@
|
|||
ignore:
|
||||
- "src/backend/InvenTree/**/test_migrations.py"
|
||||
|
||||
coverage:
|
||||
status:
|
||||
project:
|
||||
|
|
|
|||
|
|
@ -120,6 +120,7 @@ possibly-unbound-attribute="ignore" # 21
|
|||
[tool.coverage.run]
|
||||
source = ["src/backend/InvenTree", "InvenTree"]
|
||||
dynamic_context = "test_function"
|
||||
omit = ["*/test_migrations.py"]
|
||||
|
||||
[tool.coverage.html]
|
||||
show_contexts = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue