-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (29 loc) · 699 Bytes
/
ci.yml
File metadata and controls
32 lines (29 loc) · 699 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
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
environment: [py310, py311, py312, py313]
steps:
- name: Checkout
uses: actions/checkout@v6
- uses: prefix-dev/setup-pixi@v0.9.4
with:
cache: true
frozen: true
environments: ${{ matrix.environment }}
- name: CI
run: |
pixi run -e ${{ matrix.environment }} ci
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}