Check Docs #807
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: Check Docs | |
on: | |
pull_request: | |
push: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 */72 * * *' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
environment: | |
name: checkdocs | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.10'] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -e ".[test]" | |
- name: Check Docs | |
run: | | |
python setup.py checkdocs |