mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-16 15:51:08 +00:00
move root conftest into pytest plugins
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user