Skip to content

Commit

Permalink
CI: treat Python warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Apr 6, 2024
1 parent 02e0e14 commit 8788bb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/html-macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build HTML on macOS
on: [push, pull_request]
env:
PYTHONWARNINGS: error
PIP: python -m pip
SPHINX: python -m sphinx -W --keep-going --color
jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Check links in documentation
on: [push, pull_request]
env:
PYTHONWARNINGS: error
APT_INSTALL: sudo apt-get install -y --no-install-recommends
PIP: python -m pip
SPHINX: python -m sphinx -W --keep-going --color
Expand Down

0 comments on commit 8788bb0

Please sign in to comment.