From: David Lord Date: Tue, 16 Feb 2021 16:41:40 +0000 (-0800) Subject: use rtd to build docs for prs X-Git-Tag: 3.0.0rc1~32^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75e6ecf05c77a658ac1dedf32c251f9ea30470d7;p=thirdparty%2Fjinja.git use rtd to build docs for prs skip code tests when only docs change --- diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 46549923..e656dcf8 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 }} @@ -17,14 +25,13 @@ jobs: matrix: include: - {name: Linux, python: '3.9', os: ubuntu-latest, tox: py39} + - {name: Windows, python: '3.9', os: windows-latest, tox: py39} + - {name: Mac, python: '3.9', os: macos-latest, tox: py39} - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38} - {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: Docs, python: '3.9', os: ubuntu-latest, tox: docs} - {name: Typing, python: '3.9', os: ubuntu-latest, tox: typing} - - {name: Windows, python: '3.9', os: windows-latest, tox: py39} - - {name: Mac, python: '3.9', os: macos-latest, tox: py39} steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 19069520..0c363636 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,3 +6,4 @@ python: path: . sphinx: builder: dirhtml + fail_on_warning: true