build: try to handle workspace packages for tests

This commit is contained in:
2026-07-19 23:58:49 +03:00
parent e835668f7d
commit dd659820da
2 changed files with 9 additions and 3 deletions
+4 -3
View File
@@ -88,9 +88,10 @@ workspace.members = [
path = "ahriman-core/src/ahriman/__init__.py"
[tool.uv.sources]
ahriman-core = { workspace = true }
ahriman-triggers = { workspace = true }
ahriman-web = { workspace = true }
ahriman-core = { workspace = true, editable = false }
ahriman-pytest-plugins = { path = "tools/pytest_plugins", editable = true }
ahriman-triggers = { workspace = true, editable = false }
ahriman-web = { workspace = true, editable = false }
[tool.uv.workspace]
members = [
+5
View File
@@ -3,6 +3,9 @@ env_list = [
"tests",
]
isolated_build = true
requires = [
"tox-uv",
]
labels.release = [
"version",
"docs",
@@ -337,7 +340,9 @@ deps = [
{ replace = "ref", of = ["project", "extras"], extend = true },
"./tools/pytest_plugins",
]
package = "uv"
pip_pre = true
runner = "uv-venv-runner"
set_env.CFLAGS = "-Wno-unterminated-string-initialization"
commands = [
[