Skip to content

Commit

Permalink
Test the documentation builds in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee committed Jul 8, 2022
1 parent 157ec1a commit 79fed51
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- "setup.*"
- "src/**/*"
- "tests/*.py"
- "docs/**/*"

jobs:
lint:
Expand Down Expand Up @@ -56,3 +57,20 @@ jobs:
run: python -m pip install tox
- name: Test
run: python -m tox -e py

docs:
name: Test documentation builds
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch }}
- name: Use Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install test dependencies
run: python -m pip install tox
- name: Test
run: python -m tox -e docs

0 comments on commit 79fed51

Please sign in to comment.