generated from cvxgrp/cvxcli
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 1.03 KB
/
ci.yml
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
46
name: "ci"
on:
- push
jobs:
test:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: cvxgrp/.github/actions/uv/[email protected]
with:
python-version: '3.12'
tests-folder: src/tests
coverage:
runs-on: "ubuntu-latest"
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
- uses: cvxgrp/.github/actions/uv/[email protected]
with:
tests-folder: src/tests
source-folder: src/cvx
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
with:
files: artifacts/tests/coverage/coverage.info
format: lcov