Skip to content

integrate uv into test workflow #57

integrate uv into test workflow

integrate uv into test workflow #57

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
paths:
- "src/**"
- "tests/**"
- "pyproject.toml"
- "noxfile.py"
- ".github/workflows/test.yml"
pull_request:
branches: [main]
paths:
- "src/**"
- "tests/**"
- "pyproject.toml"
- "noxfile.py"
- ".github/workflows/test.yml"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python versions
uses: actions/setup-python@v5
with:
python-version: |
3.10
3.11
3.12
3.13
3.14
- name: Install nox
run: uv tool install nox
- name: Run unit tests with nox
run: nox -s tests