Add pre-commit (#460) #419
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: Doc | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Debian packages | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -y python3-pip make | |
- name: Install dependencies | |
run: | | |
sudo python3 -m pip install --upgrade pip | |
sudo python3 -m pip install .[doc] | |
- name: Run doc | |
run: | | |
cd doc | |
make html |