Skip to content

Test against Python version 3.13 #14

Test against Python version 3.13

Test against Python version 3.13 #14

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
name: ${{ matrix.env }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- { python: "3.13.0-rc.3", os: ubuntu-latest, env: py313-5 }
- { python: "3.13.0-rc.3", os: ubuntu-latest, env: py313-42 }
- { python: "3.12", os: ubuntu-latest, env: py312-5 }
- { python: "3.12", os: ubuntu-latest, env: py312-42 }
- { python: "3.11", os: ubuntu-latest, env: py311-42 }
- { python: "3.11", os: windows-latest, env: py311-42 }
- { python: "3.11", os: macos-latest, env: py311-42 }
- { python: "3.11", os: ubuntu-latest, env: py311-32 }
- { python: "3.10", os: ubuntu-latest, env: py310-42 }
- { python: "3.9", os: ubuntu-latest, env: py39-42 }
- { python: "3.8", os: ubuntu-latest, env: py38-42 }
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: "**/pyproject.toml"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade hatch
- name: Test
run: hatch run test.${{ matrix.env }}:test