Skip to content

Gallery entry

Gallery entry #380

Workflow file for this run

name: Test Environment and link rot
on:
pull_request:
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
fail-fast: false
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Micromamba
uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 #v1
with:
environment-name: IOOS
init-shell: bash
create-args: >-
--file .binder/conda-lock.yml
- name: Test environment
run: >
python -c 'import osgeo.gdal; print(dir(osgeo.gdal))'
- name: Test links
if: startsWith(matrix.os, 'ubuntu')
run: >
jupyter-book build jupyterbook --builder linkcheck