Skip to content

Add new test workflow and update pre-commit and publish workflows to … #6

Add new test workflow and update pre-commit and publish workflows to …

Add new test workflow and update pre-commit and publish workflows to … #6

Workflow file for this run

name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
UV_SYSTEM_PYTHON: 1
jobs:
test:
name: Test with ${{ matrix.python }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python: ["3.11", "3.12", "3.13"]
os: ["ubuntu-latest"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Test with pytest
run: uv run --all-extras --python ${{ matrix.python }} pytest