Skip to content

Implement linear interpolation of the power grid #155

Implement linear interpolation of the power grid

Implement linear interpolation of the power grid #155

Workflow file for this run

name: Run Demo
on: [pull_request]
jobs:
tests:
name: Run Demo
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
demo: ["cosmological_fields", "dft", "getting_started"]
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Deps
run: |
pip install .[dev]
pip install papermill ipykernel
- name: Install ipykernel
run: python -m ipykernel install --user --name docs --display-name "docs"
- name: Run Notebook
run: |
papermill -k docs docs/demos/${{ matrix.demo }}.ipynb output-${{ matrix.demo }}.ipynb
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.demo }}
path: output-${{ matrix.demo }}.ipynb