Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: render

defaults:
run:
shell: bash -ex {0}

on:
push:
branches: [ main ]
paths-ignore:
- README.md
pull_request:
branches: [ main ]
paths-ignore:
- README.md

jobs:
render:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install Python deps
shell: bash
run: |
python -m pip install nbformat nbclient pyyaml ipykernel
- uses: quarto-dev/quarto-actions/setup@v2
- if: runner.os == 'Windows'
shell: bash
run: echo "QUARTO_PYTHON=python" >> $GITHUB_ENV
- run: quarto render slides.ipynb --execute --to revealjs
12 changes: 12 additions & 0 deletions slides.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@
"---"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "8b6ce59b082dd54c",
"metadata": {},
"outputs": [],
"source": [
"# | include: false\n",
"# install dependencies for the code in this document (add packages here if importing something new)\n",
"!pip install --quiet matplotlib"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
Loading