upgrading tests.yml #951
Workflow file for this run
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
# this CI workflow checks the documentation for any broken links or errors within documentation files/configuration | |
# and reports errors to catch errors and never deploy broken documentation | |
name: MkDocs CI Check | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- "*" | |
- trunk-merge/** | |
pull_request: | |
branches: | |
- main | |
- develop | |
- "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set Up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: Install Python SDK | |
run: pip install -e . | |
- name: Install Doc Dependencies | |
run: pip install -r requirements_docs.txt | |
- name: Build and Test Documentation | |
run: | | |
mkdocs build | |
mkdocs build |