mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-20 17:31:14 +00:00
build: try to handle workspace packages for tests
This commit is contained in:
+4
-3
@@ -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 = [
|
||||
|
||||
@@ -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 = [
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user