Skip to content

replace setup.py with pyproject.toml and use uv in CI #134

replace setup.py with pyproject.toml and use uv in CI

replace setup.py with pyproject.toml and use uv in CI #134

Workflow file for this run

name: tests
on:
push:
branches:
- "*"
pull_request:
jobs:
test:
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- run: git --version
# Make sure Subversion and Mercurial are installed on Windows and macOS.
- run: uv tool install mercurial
- run: sudo apt-get update && sudo apt-get install -y subversion
if: matrix.os == 'ubuntu-latest'
- run: brew install subversion
if: matrix.os == 'macOS-latest'
- run: choco install -y --no-progress sliksvn
if: matrix.os == 'windows-latest'
# Run tests.
- run: uv run --python ${{ matrix.python-version }} test.py -v