-
Notifications
You must be signed in to change notification settings - Fork 11
37 lines (29 loc) · 828 Bytes
/
Copy pathci.yaml
File metadata and controls
37 lines (29 loc) · 828 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
37
name: CI
on: [push, pull_request]
jobs:
tests:
name: "Tests (${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: v0.71.2
cache: true
environments: dev
- name: Check formatting and lint
run: pixi run check-fmt
- name: Run unit tests
# TERM is set to avoid tput/terminal noise breaking Unicycler
# https://github.com/cypress-io/cypress/issues/15679
env:
TERM: linux
run: pixi run test-ci
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4