Test documentation #927
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: Test documentation | |
on: | |
pull_request: | |
push: | |
schedule: | |
- cron: "0 2 * * *" # run at 2 AM UTC | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Workflow Action | |
uses: styfle/[email protected] | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
make install | |
sudo apt install pandoc | |
- name: Test documentation | |
run: | | |
cd docs | |
make html |