Skip to content

tests

tests #9

Workflow file for this run

name: tests
on: workflow_dispatch
jobs:
uv-example:
name: tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Run example
run: uv run python example.py
- name: Run pip freeze
if: always()
run: uv pip freeze
- name: Run tests
if: always()
run: uv run pytest