mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-03 23:41:52 +00:00
Omit migration tests from code coverage
This commit is contained in:
1 parent
a0e528a509
commit
bc197f9409
2 files changed
+4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user