Add conda CI and local use instructions, add buttons for colab/binder in quickstart #8
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: notebooks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
pypi: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
python-version: ["3.12", "3.13"] | |
runs-on: ${{ matrix.os }} | |
name: "${{ matrix.os }} :: pypi :: ${{ matrix.python-version }}" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run : | | |
pip install uv | |
uv pip install --system -r requirements.txt | |
- run: | | |
jupyter execute notebooks/example.ipynb | |
conda-forge: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
runs-on: ${{ matrix.os }} | |
name: "${{ matrix.os }} :: conda-forge" | |
timeout-minutes: 15 | |
defaults: | |
run: | |
shell: bash -leo pipefail {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yml | |
- run: | | |
jupyter execute notebooks/example.ipynb |