IO AP sensing (Follow up of #219 and #218) (#220) #298
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: documentation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-documentation: | |
name: Build documentation | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Python info | |
shell: bash -l {0} | |
run: | | |
which python3 | |
python3 --version | |
- name: Upgrade pip and install dependencies | |
run: | | |
python3 -m pip install --upgrade pip hatch | |
python3 -m pip install .[docs] | |
- name: Install pandoc using apt | |
run: sudo apt install pandoc | |
- name: Build documentation | |
run: hatch run docs:build |