mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-02 02:01:20 +00:00
Omit migration tests from code coverage
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user