Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,30 @@ jobs:

- name: Run
run: tox -e ${{ matrix.tox-environment }}

# Test build the docs
docs:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags') }}

strategy:
fail-fast: false

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
# Pin this low because RTD doesn't seem to adopt new
# versions quickly and this ensures we don't have a
# dependency problem with importlib.metadata.
python-version: "3.9"

- name: Install dependencies
run: python -m pip install tox

- name: Run
run: tox -e docs
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pull_request_rules:
- name: Automatic merge on approval
conditions:
- and:
- "check-success=style (docs)"
- "check-success=docs"
- "check-success=style (style)"
- "check-success=style (pkglint)"
- "check-success=Test macOS (3.8)"
Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# sphinxcontrib-bitbucket
# sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
sphinx
# We need importlib.metadata, which was added in 3.10.
importlib_metadata;python_version<'3.10'