Skip to content

Enhancements to pyproject #6

Enhancements to pyproject

Enhancements to pyproject #6

Workflow file for this run

name: Checks
on: [pull_request]
jobs:
test:
name: test with ${{ matrix.env }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
env:
- "3.13"
- "3.12"
# - "3.11"
# - "3.10"
# - "3.9"
os:
- ubuntu-latest
# - macos-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
# Install a specific version of uv.
version: "0.5.8"
enable-cache: true
- name: Install dependencies
run: make deps
- name: Install tox
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv --with tox-gh
- name: Install Python
# Python 3.13 was installed above already
if: matrix.env != '3.13'
run: uv python install --python-preference only-managed ${{ matrix.env }}
- name: Run test suite
run: uv tox run
env:
TOX_GH_MAJOR_MINOR: ${{ matrix.env }}