replace setup.py with pyproject.toml and use uv in CI #134
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |