-
Notifications
You must be signed in to change notification settings - Fork 32
225 lines (200 loc) · 6.14 KB
/
checks-and-tests.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
name: Checks and Tests
on:
push:
branches:
- main
pull_request: {}
schedule:
- cron: '0 23 * * SUN-THU'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }}
cancel-in-progress: true
jobs:
changes:
if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-integration') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
outputs:
allennlp: ${{ steps.changes.outputs.allennlp }}
botorch: ${{ steps.changes.outputs.botorch }}
catboost: ${{ steps.changes.outputs.catboost }}
chainer: ${{ steps.changes.outputs.chainer }}
chainermn: ${{ steps.changes.outputs.chainermn }}
cma: ${{ steps.changes.outputs.cma }}
comet: ${{ steps.changes.outputs.comet }}
dask: ${{ steps.changes.outputs.dask }}
fastaiv2: ${{ steps.changes.outputs.fastaiv2 }}
keras: ${{ steps.changes.outputs.keras }}
lightgbm: ${{ steps.changes.outputs.lightgbm }}
mlflow: ${{ steps.changes.outputs.mlflow }}
pytorch_distributed: ${{ steps.changes.outputs.pytorch_distributed }}
pytorch_ignite: ${{ steps.changes.outputs.pytorch_ignite }}
pytorch_lightning: ${{ steps.changes.outputs.pytorch_lightning }}
shap: ${{ steps.changes.outputs.shap }}
sklearn: ${{ steps.changes.outputs.sklearn }}
skorch: ${{ steps.changes.outputs.skorch }}
tensorboard: ${{ steps.changes.outputs.tensorboard }}
tfkeras: ${{ steps.changes.outputs.tfkeras }}
wandb: ${{ steps.changes.outputs.wandb }}
xgboost: ${{ steps.changes.outputs.xgboost }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: changes
with:
filters: .github/file-filters.yml
allennlp:
if: needs.changes.outputs.allennlp == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'allennlp'
deprecated: true
botorch:
if: needs.changes.outputs.botorch == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'botorch'
deprecated: false
catboost:
if: needs.changes.outputs.catboost == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'catboost'
deprecated: false
chainer:
if: needs.changes.outputs.chainer == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'chainer'
deprecated: true
chainermn:
if: needs.changes.outputs.chainermn == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'chainermn'
deprecated: true
cma:
if: needs.changes.outputs.cma == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'cma'
deprecated: false
comet:
if: needs.changes.outputs.comet == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'comet'
deprecated: false
dask:
if: needs.changes.outputs.dask == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'dask'
deprecated: false
fastaiv2:
if: needs.changes.outputs.fastaiv2 == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'fastaiv2'
deprecated: false
python_matrix: "['3.9', '3.10', '3.11', '3.12']"
keras:
if: needs.changes.outputs.keras == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'keras'
deprecated: false
lightgbm:
if: needs.changes.outputs.lightgbm == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'lightgbm'
deprecated: false
mlflow:
if: needs.changes.outputs.mlflow == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'mlflow'
deprecated: false
pytorch_distributed:
if: needs.changes.outputs.pytorch_distributed == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'pytorch_distributed'
deprecated: false
pytorch_ignite:
if: needs.changes.outputs.pytorch_ignite == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'pytorch_ignite'
deprecated: false
pytorch_lightning:
if: needs.changes.outputs.pytorch_lightning == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'pytorch_lightning'
deprecated: false
shap:
if: needs.changes.outputs.shap == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'shap'
deprecated: false
sklearn:
if: needs.changes.outputs.sklearn == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'sklearn'
deprecated: false
skorch:
if: needs.changes.outputs.skorch == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'skorch'
extra_cmds: pip install torch
deprecated: false
tensorboard:
if: needs.changes.outputs.tensorboard == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'tensorboard'
deprecated: false
tfkeras:
if: needs.changes.outputs.tfkeras == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'tfkeras'
deprecated: false
wandb:
if: needs.changes.outputs.wandb == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'wandb'
deprecated: false
xgboost:
if: needs.changes.outputs.xgboost == 'true'
needs: changes
uses: ./.github/workflows/checks_template.yml
with:
integration_name: 'xgboost'
deprecated: false