Skip to content

Commit aa538f5

Browse files
authored
GH Actions: fix spellcheck (#553)
1 parent a9b9587 commit aa538f5

File tree

5 files changed

+23
-15
lines changed

5 files changed

+23
-15
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ runs:
99
echo "[command]sudo apt-get update"
1010
sudo apt-get update
1111
12+
# Explanation of these dependencies:
13+
# - https://github.com/ImageMagick/ImageMagick/issues/374#issuecomment-279252866
14+
# - aspell-en for spellchecking
1215
- shell: bash
1316
run: |
1417
echo "[command]sudo apt-get install -y ..."
@@ -19,9 +22,8 @@ runs:
1922
libgraphviz-dev \
2023
gsfonts \
2124
libfreetype6-dev \
22-
libfontconfig1-dev
23-
# Explanation of some of these dependencies:
24-
# https://github.com/ImageMagick/ImageMagick/issues/374#issuecomment-279252866
25+
libfontconfig1-dev \
26+
aspell-en
2527
2628
- uses: conda-incubator/setup-miniconda@35d1405e78aa3f784fe3ce9a2eb378d5eeb62169 # v2.1.1
2729
with:

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ jobs:
123123
html \
124124
slides \
125125
linkcheck \
126-
SPHINXOPTS='-Wn' \
126+
SPHINXOPTS='-Wn --keep-going' \
127+
FORCE_COLOR=true \
127128
STABLE=${{ github.event.inputs.set_stable }} \
128129
LATEST=${{ github.event.inputs.set_latest }}
129130

.github/workflows/nightly.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,11 @@ jobs:
109109
html \
110110
slides \
111111
linkcheck \
112-
SPHINXOPTS="-Wn -A sidebar_version_name=${version}" \
112+
SPHINXOPTS="-Wn --keep-going -A sidebar_version_name=${version}" \
113113
STABLE=false \
114114
LATEST=false \
115-
BUILDDIR='doc/nightly'
115+
BUILDDIR='doc/nightly' \
116+
FORCE_COLOR=true
116117
git -C gh-pages add 'nightly' 'versions.json'
117118
118119
- name: push changes

.github/workflows/test.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,21 @@ jobs:
7474
flake8
7575
eslint .
7676
77-
- name: build
77+
- name: (debug only) list language dictionaries
78+
if: runner.debug
79+
shell: python
80+
env:
81+
PYENCHANT_VERBOSE_FIND: true
7882
run: |
79-
make html slides spelling linkcheck doctest SPHINXOPTS='-Wn'
83+
import enchant
84+
print(enchant.list_dicts())
8085
81-
- name: debug
86+
- name: build & test
87+
run: |
88+
make html slides spelling linkcheck doctest \
89+
SPHINXOPTS='-Wn --keep-going' FORCE_COLOR=true
90+
91+
- name: debug sphinx failure
8292
if: failure()
8393
run: |
8494
cat /tmp/sphinx-err* || true # sphinx traceback

src/dictionaries/words

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ auth
55
authenticator
66
bar
77
baz
8-
behavior
9-
behaviour
108
boolean
119
booleans
12-
colored
13-
coloured
1410
conf
1511
config
1612
configargs
@@ -28,7 +24,6 @@ diff
2824
diffs
2925
dir
3026
dirs
31-
duration
3227
durations
3328
env
3429
etc
@@ -139,7 +134,6 @@ retrigger
139134
retriggered
140135
retriggering
141136
roadmap
142-
routines
143137
runahead
144138
runnable
145139
runtime

0 commit comments

Comments
 (0)