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:
|
coverage:
|
||||||
status:
|
status:
|
||||||
project:
|
project:
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,7 @@ possibly-unbound-attribute="ignore" # 21
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
source = ["src/backend/InvenTree", "InvenTree"]
|
source = ["src/backend/InvenTree", "InvenTree"]
|
||||||
dynamic_context = "test_function"
|
dynamic_context = "test_function"
|
||||||
|
omit = ["*/test_migrations.py"]
|
||||||
|
|
||||||
[tool.coverage.html]
|
[tool.coverage.html]
|
||||||
show_contexts = true
|
show_contexts = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue