Skip to content

chore: migrate project configuration from setup.py to pyproject.toml #9

chore: migrate project configuration from setup.py to pyproject.toml

chore: migrate project configuration from setup.py to pyproject.toml #9

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
inputs:
reason:
description: 'Reason'
required: false
default: 'Manual trigger'
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies and run linting
run: |
uv sync --group dev --all-extras
uv run ruff check .
- name: Run tests
run: uv run python -m pytest tests/ -v