Skip to content

gh-231: add ruff linting to pre-commit #21

gh-231: add ruff linting to pre-commit

gh-231: add ruff linting to pre-commit #21

Workflow file for this run

name: Test examples
on:
push:
paths:
- "glass/**"
pull_request:
paths:
- "glass/**"
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test-examples:
name: Test examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip
- run: pipx run --spec '.[examples]' jupyter execute examples/**/*.ipynb