New tutorial on MOM5/MOM6 model grids and coordinates, getting started with XGCM #2328
This file contains hidden or 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: Sphinx Builds | |
on: | |
push: | |
pull_request: | |
types: [synchronize, opened] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "<=3.9" | |
- name: Cache pip | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
${{ runner.os }}- | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r docs/requirements.txt | |
sudo apt-get update -y | |
sudo apt-get install -y pandoc | |
- name: Ensure sphinx builds (warnings allowed) | |
run: | | |
cp -r 01-Cooking-Lessons-101/ docs/ | |
cp -r 02-Appetisers/ docs/ | |
cp -r 03-Mains/ docs/ | |
cp -r 04-Local-Dishes/ docs/ | |
make -C docs html O=-n |