Skip to content

Use uv, drop Python 3.8, CI updates #106

Use uv, drop Python 3.8, CI updates

Use uv, drop Python 3.8, CI updates #106

Workflow file for this run

# badge: https://github.com/dcwatson/deflate/workflows/CI/badge.svg?branch=main
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
UV_SYSTEM_PYTHON: 1
UV_PYTHON_DOWNLOADS: never
UV_PYTHON_PREFERENCE: only-system
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v1
test:
needs: checks
strategy:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Setup uv
uses: astral-sh/setup-uv@v3
- name: Install
run: uv sync --all-extras
- name: Run Tests
run: uv run pytest