-
Notifications
You must be signed in to change notification settings - Fork 22
33 lines (31 loc) · 1.07 KB
/
build_spell.yml
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
27
28
29
30
31
32
33
name: Build and spell check
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y texlive-latex-recommended \
texlive-fonts-recommended \
texlive-latex-extra \
texlive-lang-portuguese \
latexmk \
hunspell \
hunspell-pt-br \
enchant-2 \
python3-enchant
- name: Install pydependencies
run: pip install -r requirements.txt
- name: Build HTML
run: SPHINXOPTS="-t instructors -nWT" make html
- name: Build PDF
run: SPHINXOPTS="-t instructors -nWT" make latexpdf
- name: Spell check
run: sphinx-build -b spelling -nW source/ build/