branch: externals/el-job
commit 349761d380ddfe32ad3f45c58778874cb1b4543a
Author: Martin Edström <meedstro...@gmail.com>
Commit: Martin Edström <meedstro...@gmail.com>

    Add checkdoc to CI, without ispell
---
 .github/workflows/test.yml | 24 +++++++++++++-----------
 makem.sh                   |  2 +-
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 039edaad8a..3173167eee 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -51,9 +51,9 @@ jobs:
 
     - uses: actions/checkout@v2
 
-    - name: Install Ispell
-      run: |
-        sudo apt-get install ispell
+    # - name: Install Ispell
+    #   run: |
+    #     sudo apt-get install ispell
 
     - name: Initialize sandbox
       run: |
@@ -61,19 +61,21 @@ jobs:
         echo "SANDBOX_DIR=$SANDBOX_DIR" >> $GITHUB_ENV
         ./makem.sh -vv --sandbox=$SANDBOX_DIR --install-deps --install-linters
 
-    - name: Lint (sans checkdoc)
+    - name: Lint
       # continue-on-error: true
       # run: ./makem.sh -vv --sandbox=$SANDBOX_DIR lint
 
       # All default linters except checkdoc,
       # because I don't want to add ispell word exceptions
-      run: >
-        ./makem.sh -vv --sandbox=$SANDBOX_DIR \
-           lint-compile \
-           lint-declare \
-           lint-indent \
-           lint-package \
-           lint-regexps
+      # run: >
+      #   ./makem.sh -vv --sandbox=$SANDBOX_DIR \
+      #      lint-compile \
+      #      lint-declare \
+      #      lint-indent \
+      #      lint-package \
+      #      lint-regexps
+
+      run: ./makem.sh -vv --sandbox=$SANDBOX_DIR lint
 
     - name: Test
       if: always()  # Run test even if linting fails.
diff --git a/makem.sh b/makem.sh
index 5a71b1b90b..ddddd2dac8 100755
--- a/makem.sh
+++ b/makem.sh
@@ -195,7 +195,7 @@ function elisp-checkdoc-file {
     (when makem-checkdoc-errors-p
       (kill-emacs 1))))
 
-(setq checkdoc-spellcheck-documentation-flag t)
+(setq checkdoc-spellcheck-documentation-flag nil)
 (makem-checkdoc-files-and-exit)
 EOF
     fi

Reply via email to