Skip to content

MNT: lock file maintenance #986

MNT: lock file maintenance

MNT: lock file maintenance #986

Workflow file for this run

name: CI
on:
pull_request:
paths-ignore:
- doc/**
- README.md
push:
branches:
- main
workflow_dispatch:
jobs:
tests:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python-version:
- '3.10'
- '3.13'
include:
- os: ubuntu-22.04
python-version: 3.10.0
sync-args: --resolution=lowest-direct
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- name: Checkout Source
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup uv
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
with:
python-version: ${{ matrix.python-version }}
- name: Build
run: uv sync --no-editable --group test ${{ matrix.sync-args }}
- name: Run tests
run: uv run --no-sync pytest --color=yes
type-check:
runs-on: ubuntu-latest
name: type check
concurrency:
group: ${{ github.ref }}-dev
cancel-in-progress: true
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Setup uv
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
with:
# Match minimal supported Python version
# to make sure we're not using unparseable syntax
python-version: '3.10'
- name: Run mypy
run: uv run --group typecheck mypy src