Create python-package.yml #1
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
# Build the docs and run checks on them | |
# Based on https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Check | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- master | |
- main | |
- '*.*' | |
- 'staging*' | |
pull_request: | |
branches: | |
- master | |
- main | |
- '*.*' | |
- 'staging*' | |
jobs: | |
check: | |
name: Check Docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
shell: bash | |
run: ./ci/install.sh | |
- name: List dependencies | |
shell: bash | |
run: pip list | |
- name: Run Linkcheck | |
run: make linkcheck |