forked from fairlearn/fairlearn
-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (57 loc) · 1.5 KB
/
build-test.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: build-test
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
- "release/**"
workflow_dispatch:
concurrency:
# this ensures after each commit the old jobs are cancelled and the new ones
# run instead.
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
all-deps:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
requirementsPinned: ["false"]
uses: ./.github/workflows/test-all-deps.yml
with:
os: ${{ matrix.os }}
python: ${{ matrix.python }}
requirementsPinned: ${{ matrix.requirementsPinned }}
codeCovPython: "3.11"
minimal-deps:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
uses: ./.github/workflows/test-minimal-deps.yml
with:
os: ${{ matrix.os }}
python: ${{ matrix.python }}
other-ml:
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.11"]
mlpackage: [lightgbm, xgboost, tensorflow, pytorch]
uses: ./.github/workflows/test-other-ml.yml
with:
os: ${{ matrix.os }}
python: ${{ matrix.python }}
mlpackage: ${{ matrix.mlpackage }}
linting:
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.11"]
uses: ./.github/workflows/linting.yml
with:
os: ${{ matrix.os }}
python: ${{ matrix.python }}