Skip to content

Use a more standard pyproject.toml file format and use uv for the GitHub actions #130

Use a more standard pyproject.toml file format and use uv for the GitHub actions

Use a more standard pyproject.toml file format and use uv for the GitHub actions #130

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
release:
types: [ published ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install the project
run: uv sync
- name: Test
run: uv run pytest --doctest-modules