Skip to content

Bump astral-sh/setup-uv from 6 to 7 in the actions group #62

Bump astral-sh/setup-uv from 6 to 7 in the actions group

Bump astral-sh/setup-uv from 6 to 7 in the actions group #62

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
# Many color libraries just need this to be set to any value, but at least
# one distinguishes color depth, where "3" -> "256-bit color".
FORCE_COLOR: 3
jobs:
checks:
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.13"]
runs-on: [ubuntu-latest, windows-latest, macos-14]
include:
- python-version: "pypy-3.10"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: astral-sh/setup-uv@v7
- name: Install package
run: uv sync
- name: Test package
run: >-
uv run pytest -ra --cov --cov-report=xml --cov-report=term
--durations=20
docs:
uses: ./.github/workflows/build-docs.yml
with:
# Deploy on tag pushes (assume that is a release)
deploy: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) }}
secrets: inherit