Skip to content

Bump ipywidgets from 8.1.7 to 8.1.8 (#841) #2449

Bump ipywidgets from 8.1.7 to 8.1.8 (#841)

Bump ipywidgets from 8.1.7 to 8.1.8 (#841) #2449

Workflow file for this run

name: main
# Automatically cancel a previous run.
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches:
- '*'
merge_group:
permissions: {}
jobs:
run-type-checking:
name: Run tests for type-checking
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
with:
enable-cache: true
- name: Install just
uses: extractions/setup-just@f8a3cce218d9f83db3a2ecd90e41ac3de6cdfd9b # v3
- name: Install graphviz
run: |
sudo apt-get update
sudo apt-get install graphviz graphviz-dev
- run: just typing
run-tests:
name: Run tests for ${{ matrix.os }} on ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Install just
uses: extractions/setup-just@f8a3cce218d9f83db3a2ecd90e41ac3de6cdfd9b # v3
- if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install graphviz graphviz-dev
- name: Run tests, doctests, and notebook tests
if: matrix.os != 'windows-latest' || matrix.python-version != '3.14'
shell: bash -l {0}
run: just test-cov
# pywin32 has no wheels for Python 3.14 yet, so skip notebook tests
- name: Run tests without notebook tests (Windows + Python 3.14)
if: matrix.os == 'windows-latest' && matrix.python-version == '3.14'
shell: bash -l {0}
run: uv run --group test pytest --cov=src --cov=tests --cov-report=xml -n auto
- name: Upload test coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5
- name: Run tests with lowest resolution
if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'
run: just test-lowest
- name: Run tests with highest resolution
if: matrix.python-version == '3.14' && matrix.os == 'ubuntu-latest'
run: just test-highest