Skip to content

Bump the github-actions group with 3 updates #11

Bump the github-actions group with 3 updates

Bump the github-actions group with 3 updates #11

name: Test demo notebooks
on:
push:
branches:
- main
paths:
- "demo/**"
- ".github/workflows/test-demo-notebooks.yml"
pull_request:
paths:
- "demo/**"
- ".github/workflows/test-demo-notebooks.yml"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
test-notebook:
name: Execute demo notebooks (${{ matrix.os }}, py${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.14"]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r demo/requirements.in
- name: Execute notebook
run: >
jupyter nbconvert --to notebook --execute
--ExecutePreprocessor.timeout=300
demo/explore-voc4cat.ipynb