Skip to content

Bump the actions group in /.github/workflows with 2 updates #308

Bump the actions group in /.github/workflows with 2 updates

Bump the actions group in /.github/workflows with 2 updates #308

name: Test notebooks
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 5 * * 1'
workflow_dispatch:
jobs:
tests:
name: ${{ matrix.os }} ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Run all supported OS for one Python version, then add a few extra scenarios
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.13']
toxenv: [py313-test]
name: ['with Python 3.13',]
include:
- python-version: '3.10'
toxenv: py310-test-oldestdeps
name: with Python 3.10 and oldest versioned dependencies
os: ubuntu-latest
- python-version: '3.11'
toxenv: py311-test
name: with Python 3.11 and latest released version of dependencies
os: ubuntu-latest
- python-version: '3.12'
toxenv: py312-test-predeps
name: with Python 3.12 and latest or pre-release version of dependencies
os: ubuntu-latest
- python-version: '3.14-dev'
toxenv: py314-test-devdeps
name: with Python 3.14 and developer versioned dependencies
os: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c #v6.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install --upgrade tox
- name: Test with nbval
run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}