summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2020-11-11 17:56:58 -0600
committerGitHub <noreply@github.com>2020-11-11 18:56:58 -0500
commita07da37f14fdd8e856bfef78bf81b46faff335c4 (patch)
tree76d4a1fa90034d18ede78584a68e8b8379b034da /.github/workflows/ci.yml
parentce9645a9c75acb954709ce952931129c0f4fa345 (diff)
downloadcryptography-a07da37f14fdd8e856bfef78bf81b46faff335c4.tar.gz
port docs and docs-linkcheck (#5563)
* port docs and docs-linkcheck * allow linkcheck if the commit msg says linkcheck combine docs job into lint jobs * can't get the commit msg at this time on a PR
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d4996232b..199228906 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
PYTHON:
- - {VERSION: "3.9", TOXENV: "pep8,packaging", COVERAGE: "false"}
+ - {VERSION: "3.9", TOXENV: "pep8,packaging,docs", COVERAGE: "false"}
- {VERSION: "pypy2", TOXENV: "pypy-nocoverage", COVERAGE: "false"}
- {VERSION: "pypy3", TOXENV: "pypy3-nocoverage", COVERAGE: "false"}
- {VERSION: "2.7", TOXENV: "py27", OPENSSL: {TYPE: "openssl", VERSION: "1.1.0l"}}
@@ -230,3 +230,18 @@ jobs:
- run: ./.github/downstream.d/${{ matrix.DOWNSTREAM }}.sh install
- run: pip install .
- run: ./.github/downstream.d/${{ matrix.DOWNSTREAM }}.sh run
+
+ docs-linkcheck:
+ if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+ runs-on: ubuntu-latest
+ name: "linkcheck"
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup python
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.9
+ - run: python -m pip install -U tox
+ - run: tox -r -- --color=yes
+ env:
+ TOXENV: docs-linkcheck