Skip to content

Bump astral-sh/setup-uv from 5 to 6 #6

Bump astral-sh/setup-uv from 5 to 6

Bump astral-sh/setup-uv from 5 to 6 #6

Workflow file for this run

---
name: Test Suite
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
tests:
name: "Python ${{ matrix.python-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install dependencies
run: scripts/install
- name: Run linting checks
run: scripts/check
if: ${{ matrix.python-version != '3.14' }}
- name: "Build package & docs"
run: scripts/build
- name: "Run tests"
run: scripts/test
- name: "Enforce coverage"
run: scripts/coverage
# https://github.com/marketplace/actions/alls-green#why
check:
if: always()
needs: [tests]
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}