Skip to content

Commit 3c0e73e

Browse files
committed
use rtd to build docs for prs
skip code tests when only docs change
1 parent 5524640 commit 3c0e73e

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ on:
44
branches:
55
- master
66
- '*.x'
7+
paths-ignore:
8+
- 'docs/**'
9+
- '*.md'
10+
- '*.rst'
711
pull_request:
812
branches:
913
- master
1014
- '*.x'
15+
paths-ignore:
16+
- 'docs/**'
17+
- '*.md'
18+
- '*.rst'
1119
jobs:
1220
tests:
1321
name: ${{ matrix.name }}
@@ -23,8 +31,6 @@ jobs:
2331
- {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
2432
- {name: '3.6', python: '3.6', os: ubuntu-latest, tox: py36}
2533
- {name: 'PyPy', python: pypy3, os: ubuntu-latest, tox: pypy3}
26-
- {name: Lowest, python: '3.9', os: ubuntu-latest, tox: lowest}
27-
- {name: Docs, python: '3.9', os: ubuntu-latest, tox: docs}
2834
steps:
2935
- uses: actions/checkout@v2
3036
- uses: actions/setup-python@v2

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ python:
66
path: .
77
sphinx:
88
builder: dirhtml
9+
fail_on_warning: true

0 commit comments

Comments
 (0)