Skip to content

Use default= kwarg for models (PEP 681 compliance) (#93) #224

Use default= kwarg for models (PEP 681 compliance) (#93)

Use default= kwarg for models (PEP 681 compliance) (#93) #224

Workflow file for this run

name: test
on:
push:
branches:
- main
paths-ignore:
- "docs/**"
- "*.md"
- "mkdocs.yml"
- ".github/workflows/docs.yml"
- ".github/workflows/project.yml"
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
run:
name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Ensure latest pip
run: python -m pip install --upgrade pip
- name: Install ourself
run: pip install -e .
- name: Install Hatch
run: pip install hatch
- name: Run tests
run: hatch run test -vv
env:
HYPOTHESIS_PROFILE: debug