Skip to content

Commit

Permalink
Temporarily ignore deprecation warnings from Sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 11, 2022
1 parent d47b714 commit 39ba1d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:
python -m pip install --upgrade -r requirements.txt
- name: Build docs
run: python -bb -X dev -W error -m sphinx --color -n -E -a -W --keep-going docs build
# Temporarily ignore deprecation warnings until fixed:
# 'DeprecationWarning: 'imghdr' is deprecated and slated for removal in Python 3.13'
# https://github.com/sphinx-doc/sphinx/issues/10440
run: python -bb -X dev -W error -W ignore::DeprecationWarning -m sphinx --color -n -E -a -W --keep-going docs build

- name: Check links
run: python -b -X dev -m sphinx --color -b linkcheck -W --keep-going docs build

0 comments on commit 39ba1d6

Please sign in to comment.