-
Notifications
You must be signed in to change notification settings - Fork 38
44 lines (36 loc) · 921 Bytes
/
tests.yml
File metadata and controls
44 lines (36 loc) · 921 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
38
39
40
41
42
43
44
name: tests
on:
push:
branches: [main]
pull_request:
branches:
- "*"
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
environment: [test]
include:
- os: macos-latest
python-version: "3.13"
- os: windows-latest
python-version: "3.13"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.58.0
environments: ${{ matrix.environment }}
frozen: true
- name: run tests
run: pixi run test
- name: upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: martibosch/detectree
- name: list files
run: ls -l .