Skip to content

Readme

Readme #10

Workflow file for this run

name: Run tests
on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.12]
steps:
- name: checkout code
uses: actions/checkout@v2
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
# Install a specific version of uv.
version: "0.5.5"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --dev
- name: pre-commit checks
uses: pre-commit/[email protected]
- name: Run tests
run: uv run pytest tests