summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-04-26 11:26:41 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-04-26 14:39:03 +0200
commit5d1519bd27e9d7936f962b4ed148e8835e639364 (patch)
treecde3e2b07ea1bd4cda520350eb7629e80c51f506 /.github
parent9b4d46615e22313e446e2ba15e98c0f1d89ccf13 (diff)
downloadpylint-git-5d1519bd27e9d7936f962b4ed148e8835e639364.tar.gz
Only run spelling checks in CI with manual hook
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/checks.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml
index 27f7b26bd..b0e9aa6b2 100644
--- a/.github/workflows/checks.yaml
+++ b/.github/workflows/checks.yaml
@@ -114,14 +114,18 @@ jobs:
run: |
echo "Failed to restore pre-commit environment from cache"
exit 1
+ - name: Install enchant and aspell
+ run: |
+ sudo apt-get update
+ sudo apt-get install enchant aspell-en
- name: Run pylint checks
run: |
. venv/bin/activate
pip install -e .
- pre-commit run pylint --all-files
+ pre-commit run --hook-stage manual pylint-with-spelling --all-files
spelling:
- name: spelling
+ name: spelling tests
runs-on: ubuntu-latest
timeout-minutes: 5
needs: prepare-base