move root conftest into pytest plugins

This commit is contained in:
2026-07-16 16:30:38 +03:00
parent bfd3148617
commit 14dd97f2ca
6 changed files with 42 additions and 9 deletions
+13
View File
@@ -335,11 +335,17 @@ dependency_groups = [
]
deps = [
{ replace = "ref", of = ["project", "extras"], extend = true },
"./tools/pytest_plugins",
]
pip_pre = true
set_env.CFLAGS = "-Wno-unterminated-string-initialization"
commands = [
[
"coverage",
"run",
"--source",
"ahriman",
"-m",
"pytest",
"tests/test_tests.py",
"ahriman-core/tests",
@@ -347,6 +353,13 @@ commands = [
"ahriman-web/tests",
{ replace = "posargs", extend = true },
],
[
"coverage",
"report",
"--show-missing",
"--skip-covered",
"--fail-under=100",
],
]
[env.version]