Skip to content

Update GitHub Actions workflow to use 'published' release type and st… #157

Update GitHub Actions workflow to use 'published' release type and st…

Update GitHub Actions workflow to use 'published' release type and st… #157

name: Test Python Package
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest tests/