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
|
fi
|
||||||
|
|
||||||
sphinx-build \
|
sphinx-build \
|
||||||
|
--fail-on-warning \
|
||||||
docs \
|
docs \
|
||||||
public \
|
public \
|
||||||
|
|
||||||
|
|
|
@ -90,6 +90,9 @@ mypy:
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
stage: test
|
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:
|
script:
|
||||||
- ".ci/docs.sh"
|
- ".ci/docs.sh"
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue