-
-
Notifications
You must be signed in to change notification settings - Fork 17
33 lines (26 loc) · 677 Bytes
/
ci.yml
File metadata and controls
33 lines (26 loc) · 677 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
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