Skip to content

Commit db89433

Browse files
committed
move spellcheck to github action
1 parent 47d1831 commit db89433

File tree

3 files changed

+27
-22
lines changed

3 files changed

+27
-22
lines changed

.github/workflows/spellcheck.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: spellcheck
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Python
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: 3.7
16+
- 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

.travis.yml

-21
This file was deleted.

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# You can set these variables from the command line.
44
SPHINXOPTS =
5-
SPHINXBUILD = pipenv run sphinx-build
5+
SPHINXBUILD = sphinx-build
66
PAPER =
77
BUILDDIR = _build
88

0 commit comments

Comments
 (0)