1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
name: Build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ["3.10", "3.11", "3.13", "3.14", "3.14t"]
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python_version }}
- name: Install hatch
run: pip install hatch
- name: Install the project
run: hatch env create
- name: Local build
run: hatch run maturin develop
- name: Lint and typecheck
run: |
hatch run lint-check
- name: Test
run: |
hatch run test
|