-
-
Notifications
You must be signed in to change notification settings - Fork 24
36 lines (28 loc) · 643 Bytes
/
Copy pathci.yml
File metadata and controls
36 lines (28 loc) · 643 Bytes
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
30
31
32
33
34
35
36
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@v7
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.10.2
with:
pixi-version: latest
cache: true
- name: Check formatting
run: pixi run fmt-check
- name: Run linter
run: pixi run lint-check
- name: Check types
run: pixi run typecheck
- name: Run tests
run: pixi run test