Skip to content

Commit

Permalink
Fix documentations CI
Browse files Browse the repository at this point in the history
Force tox to download sphinx_rtd_theme==1.3.0, otherwise the CI will take
an older version of this package.

Also improve dependencies between jobs.
  • Loading branch information
leocardao committed Aug 17, 2024
1 parent 97b22a6 commit 90bbb2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,18 @@ Test windows py3.12:
Security:
stage: Security
extends: .linux-common
needs: []
variables:
PYTHON_VERSION: ${LATEST_PYTHON}
CI_TOX_ENV: security

Documentations:
stage: Documentations
extends: .linux-common
needs: ["Checkstyle"]
variables:
PYTHON_VERSION: ${LATEST_PYTHON}
CI_TOX_ENV: security
CI_TOX_ENV: docs
only:
refs:
- merge_requests
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ commands =
deps =
sphinx
sphinx-autoapi
sphinx_rtd_theme
sphinx_rtd_theme==1.3.0
commands =
python -msphinx -M html {toxinidir}/docs/source {toxinidir}/docs/build

Expand Down

0 comments on commit 90bbb2a

Please sign in to comment.