diff --git a/codecov.yml b/codecov.yml index b06601b57b..b49179c3ed 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,6 @@ +ignore: + - "src/backend/InvenTree/**/test_migrations.py" + coverage: status: project: diff --git a/pyproject.toml b/pyproject.toml index 63a0fd5a6e..169e5a1f89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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