Skip to content

Switch to hatchling build-backend and drop Python<3.8 support (#90) #96

Switch to hatchling build-backend and drop Python<3.8 support (#90)

Switch to hatchling build-backend and drop Python<3.8 support (#90) #96

Workflow file for this run

name: Build
on: [push, pull_request]
env:
PYTHONIOENCODING: "utf-8"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-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: Install package
run: |
python3 -m pip install -e .[test]
- name: Run tests
run: pytest
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: pre-commit/action@v3.0.1