-
Notifications
You must be signed in to change notification settings - Fork 56
26 lines (22 loc) · 874 Bytes
/
spellcheck.yml
File metadata and controls
26 lines (22 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: spellcheck
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y enchant-2
python -m pip install --upgrade setuptools
python -m pip install --upgrade pyenchant sphinx-rtd-theme sphinxcontrib-spelling
- name: Check spelling
# show list of misspelled words
run: |
make spelling
if [[ -s "_build/spelling/output.txt" ]]; then cat "_build/spelling/output.txt"; fi
if [[ -s "_build/spelling/output.txt" ]]; then false; fi