-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (37 loc) · 940 Bytes
/
tests.yml
File metadata and controls
45 lines (37 loc) · 940 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
45
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"
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
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 -e ${{ matrix.environment }} test
- name: upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: martibosch/urban-footprinter
- name: list files
run: ls -l .