mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-21 09:51: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"
|
path = "ahriman-core/src/ahriman/__init__.py"
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
ahriman-core = { workspace = true }
|
ahriman-core = { workspace = true, editable = false }
|
||||||
ahriman-triggers = { workspace = true }
|
ahriman-pytest-plugins = { path = "tools/pytest_plugins", editable = true }
|
||||||
ahriman-web = { workspace = true }
|
ahriman-triggers = { workspace = true, editable = false }
|
||||||
|
ahriman-web = { workspace = true, editable = false }
|
||||||
|
|
||||||
[tool.uv.workspace]
|
[tool.uv.workspace]
|
||||||
members = [
|
members = [
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ env_list = [
|
|||||||
"tests",
|
"tests",
|
||||||
]
|
]
|
||||||
isolated_build = true
|
isolated_build = true
|
||||||
|
requires = [
|
||||||
|
"tox-uv",
|
||||||
|
]
|
||||||
labels.release = [
|
labels.release = [
|
||||||
"version",
|
"version",
|
||||||
"docs",
|
"docs",
|
||||||
@@ -337,7 +340,9 @@ deps = [
|
|||||||
{ replace = "ref", of = ["project", "extras"], extend = true },
|
{ replace = "ref", of = ["project", "extras"], extend = true },
|
||||||
"./tools/pytest_plugins",
|
"./tools/pytest_plugins",
|
||||||
]
|
]
|
||||||
|
package = "uv"
|
||||||
pip_pre = true
|
pip_pre = true
|
||||||
|
runner = "uv-venv-runner"
|
||||||
set_env.CFLAGS = "-Wno-unterminated-string-initialization"
|
set_env.CFLAGS = "-Wno-unterminated-string-initialization"
|
||||||
commands = [
|
commands = [
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user