[MNT] Bump actions/setup-python from 5 to 6 in the github-actions group #476
Workflow file for this run
This file contains hidden or 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: PR Examples | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "examples/**" | |
- "tsml_eval/**" | |
- ".github/workflows/**" | |
- "pyproject.toml" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-notebook-examples: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v5 | |
- uses: actions/setup-python@v6 | |
with: | |
python-version: "3.12" | |
- name: Restore numba cache | |
uses: ./.github/actions/numba_cache | |
with: | |
cache_name: "run-notebook-examples" | |
runner_os: ${{ runner.os }} | |
python_version: "3.12" | |
- name: Install | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 30 | |
max_attempts: 3 | |
command: python -m pip install .[all_extras,dev,binder,unstable_extras] | |
- name: Run example notebooks | |
run: .github/utilities/run_examples.sh ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'full examples run') }} | |
shell: bash |