Skip to content

Bump click from 8.3.2 to 8.3.3 #2580

Bump click from 8.3.2 to 8.3.3

Bump click from 8.3.2 to 8.3.3 #2580

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@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
- name: Install just
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0
with:
just-version: "1.43.1"
- 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@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Install just
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0
with:
just-version: "1.43.1"
- 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@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
- 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