Skip to content

Use uv lock file

Use uv lock file #249

Workflow file for this run

on: [push, pull_request]
env:
UV_FROZEN: 1
name: Test
jobs:
test:
name: Unit tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v2
- name: Install dependencies
run: |
uv sync --group test
- name: Test
run: uv run pytest -vv tests