adicionadas resolucoes (#134) #154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |