reorder tests

This commit is contained in:
2026-07-13 13:00:13 +03:00
parent 92ac036f78
commit 7db38ff9e4
800 changed files with 307 additions and 996 deletions
+16 -28
View File
@@ -60,32 +60,22 @@ shtab = [
[project]
extras = [
"journald",
"pacman",
"reports",
"s3",
"shell",
"stats",
"unixsocket",
"validator",
"web",
"web-auth",
"web-docs",
"web-oauth2",
"web-metrics",
"./ahriman-core[journald,pacman,reports,s3,shell,stats,unixsocket,validator]",
"./ahriman-triggers",
"./ahriman-web[auth,docs,metrics,oauth2]",
]
name = "ahriman"
[env.archive]
description = "Create source files tarball"
deps = [
"build",
]
skip_install = true
system_site_packages = true
commands = [
[
"{envpython}",
"-m", "build",
"--sdist",
"--no-isolation",
],
]
@@ -157,12 +147,10 @@ depends = [
"version",
]
deps = [
{ replace = "ref", of = ["project", "extras"], extend = true },
"uv",
]
dynamic_version = "{[project]name}.__version__"
extras = [
{ replace = "ref", of = ["project", "extras"], extend = true },
]
pip_pre = true
set_env.PYTHONPATH = "src"
set_env.SPHINX_APIDOC_OPTIONS = "members,no-undoc-members,show-inheritance"
@@ -171,20 +159,20 @@ commands = [
"shtab",
{ replace = "ref", of = ["flags", "shtab"], extend = true },
"--shell", "bash",
"--output", "package/share/bash-completion/completions/_ahriman",
"--output", "ahriman-core/package/share/bash-completion/completions/_ahriman",
],
[
"shtab",
{ replace = "ref", of = ["flags", "shtab"], extend = true },
"--shell", "zsh",
"--output", "package/share/zsh/site-functions/_ahriman",
"--output", "ahriman-core/package/share/zsh/site-functions/_ahriman",
],
[
"argparse-manpage",
{ replace = "ref", of = ["flags", "manpage"], extend = true },
"--module", "ahriman.application.ahriman",
"--function", "_parser",
"--output", "package/share/man/man1/ahriman.1",
"--output", "ahriman-core/package/share/man/man1/ahriman.1",
],
[
"pydeps",
@@ -236,7 +224,7 @@ description = "Generate html documentation"
dependency_groups = [
"docs",
]
extras = [
deps = [
{ replace = "ref", of = ["project", "extras"], extend = true },
]
pip_pre = true
@@ -271,10 +259,10 @@ commands = [
"docs/_static/architecture.dot",
"frontend/package.json",
"package/archlinux/PKGBUILD",
"package/share/man/man1/ahriman.1",
"package/share/bash-completion/completions/_ahriman",
"package/share/zsh/site-functions/_ahriman",
"src/ahriman/__init__.py",
"ahriman-core/package/share/man/man1/ahriman.1",
"ahriman-core/package/share/bash-completion/completions/_ahriman",
"ahriman-core/package/share/zsh/site-functions/_ahriman",
"ahriman-core/src/ahriman/__init__.py",
],
[
"git",
@@ -302,7 +290,7 @@ description = "Run tests"
dependency_groups = [
"tests",
]
extras = [
deps = [
{ replace = "ref", of = ["project", "extras"], extend = true },
]
pip_pre = true