forked from Mirror/pmbootstrap
CI: docs: fail on warning (MR 2506)
This commit is contained in:
parent
77125ff9fb
commit
559710c69a
2 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,7 @@ if [ "$fail" -eq 1 ]; then
|
|||
fi
|
||||
|
||||
sphinx-build \
|
||||
--fail-on-warning \
|
||||
docs \
|
||||
public \
|
||||
|
||||
|
|
|
@ -90,6 +90,9 @@ mypy:
|
|||
|
||||
docs:
|
||||
stage: test
|
||||
# py3-sphinx >= 7.3 is needed for --fail-on-warning
|
||||
# alpine:3.20 is on py3-sphinx 7.2.x
|
||||
image: alpine:edge
|
||||
script:
|
||||
- ".ci/docs.sh"
|
||||
artifacts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue