forked from Github-Mirrors/canaille
doc: fix CI
This commit is contained in:
parent
fb48f42f4d
commit
3a2c1b1472
3 changed files with 4 additions and 3 deletions
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
|
@ -107,5 +107,5 @@ jobs:
|
|||
sudo DEBIAN_FRONTEND=noninteractive apt --yes --quiet install libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils
|
||||
- run: |
|
||||
export TZ=UTC
|
||||
uv sync --group doc
|
||||
uv sync --group doc --all-extras
|
||||
uv run sphinx-build doc build/sphinx/html --fail-on-warning
|
||||
|
|
|
@ -74,6 +74,6 @@ doc:
|
|||
image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
|
||||
stage: test
|
||||
script:
|
||||
- uv sync --group doc
|
||||
- uv sync --group doc --all-extras
|
||||
- uv run sphinx-build doc build/sphinx/html --fail-on-warning
|
||||
- uv cache prune --ci
|
||||
|
|
|
@ -233,7 +233,7 @@ env_list = [
|
|||
[tool.tox.env_run_base]
|
||||
runner = "uv-venv-lock-runner"
|
||||
dependency_groups = ["dev"]
|
||||
uv_sync_flags = ["--extra", "front", "--extra", "oidc", "--extra", "sqlite", "--extra", "ldap"]
|
||||
uv_sync_flags = ["--all-extras"]
|
||||
commands = [
|
||||
["pytest", "--showlocals", "--full-trace", "{posargs}"],
|
||||
]
|
||||
|
@ -251,6 +251,7 @@ basepython = ["python3.10"]
|
|||
|
||||
[tool.tox.env.doc]
|
||||
dependency_groups = ["doc"]
|
||||
uv_sync_flags = ["--all-extras"]
|
||||
commands = [
|
||||
["sphinx-build", "--builder", "html", "--fail-on-warning", "doc", "build/sphinx/html"],
|
||||
["sphinx-build", "--builder", "man", "doc", "build/sphinx/html"],
|
||||
|
|
Loading…
Reference in a new issue