Learning Culture Module #127
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: Test | |
on: | |
pull_request: | |
paths: | |
- 'docs/**' | |
- '.github/workflows/test.yaml' | |
- 'environment.yml' | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setupconda | |
# NOTE: this isn't a comprehensive spellcheck, just common typos | |
- name: Spellcheck | |
uses: codespell-project/actions-codespell@master | |
with: | |
check_filenames: true | |
check_hidden: true | |
- name: Build JupyterBook | |
run: | | |
jupyter-book build docs/ | |
- name: Check External Links | |
continue-on-error: true | |
run: | | |
jupyter-book build docs/ --builder linkcheck |