Skip to content

Add pyproject.toml for project configuration, migrate to hatchling, m… #4

Add pyproject.toml for project configuration, migrate to hatchling, m…

Add pyproject.toml for project configuration, migrate to hatchling, m… #4

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Pixi
uses: prefix-dev/setup-pixi@28eb668aafebd9dede9d97c4ba1cd9989a4d0004 # v0.9.2
with:
pixi-version: latest
cache: true
- name: Check formatting
run: pixi run fmt-check
- name: Run linter
run: pixi run lint-check
- name: Run tests
run: pixi run test