This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
Updating mkdocs versions and configuration #338
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
name: Testing | |
on: | |
push: | |
branches-ignore: | |
- main | |
# Run jobs on any Pull Request activity | |
pull_request: | |
branches: | |
- main | |
jobs: | |
pre_commit: | |
name: Run pre-commit validation hooks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
- uses: pre-commit/[email protected] | |
# vale: | |
# name: runner / vale | |
# needs: pre_commit | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: errata-ai/vale-action@reviewdog | |
# env: | |
# # Required, set by GitHub actions automatically: | |
# # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret | |
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
# with: | |
# files: workshops/ | |
test_build: | |
name: Build site with no warnings | |
needs: pre_commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
##### Install required Python Modules and build the website ##### | |
- run: pip install -r requirements.txt | |
- run: mkdocs build --strict |