summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMark Byrne <mbyrnepr2@gmail.com>2022-07-18 14:52:54 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-07-18 16:34:04 +0200
commit893b173f1d5ebd5c805be4e9862955252ed80c77 (patch)
tree03cabca8c2f91f3479ddfe8990f38e80d388981a /.github
parent09cf3f118a54237062f0c7bb63929656e4476453 (diff)
downloadpylint-git-893b173f1d5ebd5c805be4e9862955252ed80c77.tar.gz
Add command to `tox.ini` & update existing github action to use it.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/checks.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml
index e1cb266fb..5ec3be43b 100644
--- a/.github/workflows/checks.yaml
+++ b/.github/workflows/checks.yaml
@@ -180,10 +180,12 @@ jobs:
run: |
echo "Failed to restore Python venv from cache"
exit 1
+ - name: Install tox
+ run: |
+ pip install -U tox
- name: Run checks on documentation code examples
run: |
- . venv/bin/activate
- pytest doc/test_messages_documentation.py
+ tox -e test_doc
- name: Check documentation build and links
run: |
. venv/bin/activate