File tree Expand file tree Collapse file tree 1 file changed +21
-15
lines changed Expand file tree Collapse file tree 1 file changed +21
-15
lines changed Original file line number Diff line number Diff line change 1
1
name : spellcheck
2
2
3
- on : [push]
3
+ on :
4
+ - push
5
+ - pull_request
4
6
5
7
jobs :
6
8
build :
7
-
8
9
runs-on : ubuntu-latest
9
10
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ tox-environment :
15
+ - docs
16
+ - linter
17
+ - pkglint
18
+ - spelling
19
+
10
20
steps :
11
21
- uses : actions/checkout@v2
12
- - name : Set up Python
13
- uses : actions/setup-python@v1
14
22
with :
15
- python-version : 3.7
23
+ fetch-depth : 0
24
+
25
+ - name : Set up Python
26
+ uses : actions/setup-python@v2
27
+
16
28
- name : Install dependencies
17
- run : |
18
- sudo apt update && sudo apt install -y enchant
19
- python -m pip install --upgrade setuptools
20
- python -m pip install --upgrade pyenchant sphinx-rtd-theme sphinxcontrib-spelling
21
- - name : Check spelling
22
- # show list of misspelled words
23
- run : |
24
- make spelling
25
- if [[ -s "_build/spelling/output.txt" ]]; then cat "_build/spelling/output.txt"; fi
26
- if [[ -s "_build/spelling/output.txt" ]]; then false; fi
29
+ run : python -m pip install tox
30
+
31
+ - name : Run
32
+ run : tox -e ${{ matrix.tox-environment }}
You can’t perform that action at this time.
0 commit comments