summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-02-24 10:02:56 -0800
committerDavid Lord <davidism@gmail.com>2021-02-24 10:02:56 -0800
commit7afa1baf970709193892fe94a25eaf91e45540d5 (patch)
treed2c0c68f06d1bd75e635fdc05b1561ac8f1a7923
parent8d53be2a2497137c5d5b12d408a05109b39866e3 (diff)
downloadmarkupsafe-7afa1baf970709193892fe94a25eaf91e45540d5.tar.gz
use rtd to build docks for prs
skip code tests when only docs change
-rw-r--r--.github/workflows/tests.yaml9
-rw-r--r--.readthedocs.yaml1
2 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 1fd4c3f..8dc97ef 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -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 }}
@@ -24,7 +32,6 @@ jobs:
- {name: '3.6', python: '3.6', os: ubuntu-latest, tox: py36}
- {name: 'PyPy', python: pypy3, os: ubuntu-latest, tox: pypy3}
- {name: Typing, python: '3.9', os: ubuntu-latest, tox: typing}
- - {name: Docs, python: '3.9', os: ubuntu-latest, tox: docs}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 1906952..0c36363 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -6,3 +6,4 @@ python:
path: .
sphinx:
builder: dirhtml
+ fail_on_warning: true