name: Run Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Create virtual environment and install dependencies
run: |
uv venv
. .venv/bin/activate
uv pip install -e ".[dev]"
- name: Run tests
run: |
. .venv/bin/activate
uv run pytest tests/ -v