Skip to content

Commit

Permalink
use rtd to build docs for prs
Browse files Browse the repository at this point in the history
skip code tests when only docs change
  • Loading branch information
davidism committed Mar 18, 2021
1 parent 5524640 commit 3c0e73e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ on:
branches:
- master
- '*.x'
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
pull_request:
branches:
- master
- '*.x'
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
jobs:
tests:
name: ${{ matrix.name }}
Expand All @@ -23,8 +31,6 @@ jobs:
- {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
- {name: '3.6', python: '3.6', os: ubuntu-latest, tox: py36}
- {name: 'PyPy', python: pypy3, os: ubuntu-latest, tox: pypy3}
- {name: Lowest, python: '3.9', os: ubuntu-latest, tox: lowest}
- {name: Docs, python: '3.9', os: ubuntu-latest, tox: docs}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
1 change: 1 addition & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ python:
path: .
sphinx:
builder: dirhtml
fail_on_warning: true

0 comments on commit 3c0e73e

Please sign in to comment.