Skip to content

Update to modern packaging #178

Update to modern packaging

Update to modern packaging #178

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
test:
name: Test on python ${{ matrix.python-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
# TODO(https://github.com/astral-sh/setup-uv/issues/226): Remove this.
prune-cache: ${{ matrix.os != 'windows-latest' }}
- run: uv sync --all-extras --dev
- run: uv pip install tox tox-gh-actions
- run: uv run tox
env:
PLATFORM: ${{ matrix.os }}