Skip to content

Commit db68442

Browse files
committed
testing each group of dependencies
1 parent 10c8537 commit db68442

File tree

1 file changed

+147
-122
lines changed

1 file changed

+147
-122
lines changed

.github/workflows/pytest.yml

+147-122
Original file line numberDiff line numberDiff line change
@@ -102,182 +102,207 @@ jobs:
102102
pip list
103103
shell: bash
104104

105-
# - name: Incremental dependency installation
106-
# run: |
107-
# pip install pytest
108-
# echo "Installed pytest successfully."
105+
- name: Install Dependencies for Group: dev
106+
run: |
107+
pip install flake8
108+
echo "Installed flake8 successfully."
109109
110-
# pip install pytest-timeout
111-
# echo "Installed pytest-timeout successfully."
110+
pip install flake8-pyproject
111+
echo "Installed flake8-pyproject successfully."
112112
113-
# pip install pytest-cov
114-
# echo "Installed pytest-cov successfully."
113+
pip install pre-commit
114+
echo "Installed pre-commit successfully."
115115
116-
# pip install tifffile
117-
# echo "Installed tifffile successfully."
116+
pip install setuptools
117+
echo "Installed setuptools successfully."
118118
119-
# pip install wget
120-
# echo "Installed wget successfully."
119+
- name: Install Dependencies for Group: test
120+
run: |
121+
pip install pytest
122+
echo "Installed pytest successfully."
121123
122-
# pip install six>=1.13.0
123-
# echo "Installed six>=1.13.0 successfully."
124+
pip install pytest-timeout
125+
echo "Installed pytest-timeout successfully."
124126
125-
# pip install aim
126-
# echo "Installed aim successfully."
127+
pip install pytest-cov
128+
echo "Installed pytest-cov successfully."
127129
128-
# pip install wandb
129-
# echo "Installed wandb successfully."
130+
pip install tifffile
131+
echo "Installed tifffile successfully."
130132
131-
# pip install comet_ml
132-
# echo "Installed comet_ml successfully."
133+
pip install wget
134+
echo "Installed wget successfully."
133135
134-
# pip install mlflow
135-
# echo "Installed mlflow successfully."
136+
pip install six>=1.13.0
137+
echo "Installed six successfully."
136138
137-
# pip install "sqlalchemy<2"
138-
# echo "Installed sqlalchemy<2 successfully."
139+
pip install aim
140+
echo "Installed aim successfully."
139141
140-
# pip install hpbandster
141-
# echo "Installed hpbandster successfully."
142+
pip install wandb
143+
echo "Installed wandb successfully."
142144
143-
# pip install ConfigSpace==0.7.1
144-
# echo "Installed ConfigSpace==0.7.1 successfully."
145+
pip install comet_ml
146+
echo "Installed comet_ml successfully."
145147
146-
# pip install flaml[blendsearch]
147-
# echo "Installed flaml[blendsearch] successfully."
148+
pip install mlflow
149+
echo "Installed mlflow successfully."
148150
149-
# pip install HEBO
150-
# echo "Installed HEBO successfully."
151+
pip install sqlalchemy<2
152+
echo "Installed sqlalchemy successfully."
151153
152-
# pip install nevergrad
153-
# echo "Installed nevergrad successfully."
154+
pip install hpbandster
155+
echo "Installed hpbandster successfully."
154156
155-
# pip install zoopt
156-
# echo "Installed zoopt successfully."
157+
pip install ConfigSpace==0.7.1
158+
echo "Installed ConfigSpace successfully."
157159
158-
# pip install s3fs>=2022.8.2
159-
# echo "Installed s3fs>=2022.8.2 successfully."
160-
# shell: bash
160+
pip install ax-platform
161+
echo "Installed ax-platform successfully."
161162
163+
pip install bayesian-optimization
164+
echo "Installed bayesian-optimization successfully."
162165
163-
# - name: Install distributed, explain, and extra dependencies
164-
# run: |
165-
# # Distributed dependencies
166-
# pip install awscli
167-
# echo "Installed distributed dependency: awscli successfully."
166+
pip install flaml[blendsearch]
167+
echo "Installed flaml[blendsearch] successfully."
168168
169-
# pip install "dask[dataframe]<2023.4.0"
170-
# echo "Installed distributed dependency: dask[dataframe]<2023.4.0 successfully."
169+
pip install HEBO
170+
echo "Installed HEBO successfully."
171171
172-
# pip install "deepspeed!=0.11.0,<0.13.0"
173-
# echo "Installed distributed dependency: deepspeed!=0.11.0,<0.13.0 successfully."
172+
pip install nevergrad
173+
echo "Installed nevergrad successfully."
174174
175-
# pip install "getdaft[ray]==0.1.20"
176-
# echo "Installed distributed dependency: getdaft[ray]==0.1.20 successfully."
175+
pip install optuna
176+
echo "Installed optuna successfully."
177177
178-
# pip install GPUtil
179-
# echo "Installed distributed dependency: GPUtil successfully."
178+
pip install scikit-optimize
179+
echo "Installed scikit-optimize successfully."
180180
181-
# pip install pyarrow
182-
# echo "Installed distributed dependency: pyarrow successfully."
181+
pip install zoopt
182+
echo "Installed zoopt successfully."
183183
184-
# pip install "ray[default,data,serve,tune]==2.3.1"
185-
# echo "Installed distributed dependency: ray[default,data,serve,tune]==2.3.1 successfully."
184+
- name: Install Dependencies for Group: benchmarking
185+
run: |
186+
pip install s3fs>=2022.8.2
187+
echo "Installed s3fs successfully."
186188
187-
# pip install tblib
188-
# echo "Installed distributed dependency: tblib successfully."
189+
- name: Install Dependencies for Group: distributed
190+
run: |
191+
pip install awscli
192+
echo "Installed awscli successfully."
189193
190-
# pip install "tensorboardX<2.3"
191-
# echo "Installed distributed dependency: tensorboardX<2.3 successfully."
194+
pip install dask[dataframe]<2023.4.0
195+
echo "Installed dask[dataframe] successfully."
192196
193-
# # Explain dependencies
194-
# pip install captum
195-
# echo "Installed explain dependency: captum successfully."
197+
pip install deepspeed!=0.11.0,<0.13.0
198+
echo "Installed deepspeed successfully."
196199
197-
# # Extra dependencies
198-
# pip install "horovod[pytorch]>=0.24.0,!=0.26.0"
199-
# echo "Installed extra dependency: horovod[pytorch]>=0.24.0,!=0.26.0 successfully."
200+
pip install getdaft[ray]==0.1.20
201+
echo "Installed getdaft[ray] successfully."
200202
201-
# pip install "modin[ray]"
202-
# echo "Installed extra dependency: modin[ray] successfully."
203+
pip install GPUtil
204+
echo "Installed GPUtil successfully."
203205
204-
# pip install "predibase>=2023.10.2"
205-
# echo "Installed extra dependency: predibase>=2023.10.2 successfully."
206+
pip install pyarrow
207+
echo "Installed pyarrow successfully."
206208
209+
pip install ray[default,data,serve,tune]==2.3.1
210+
echo "Installed ray[default,data,serve,tune] successfully."
207211
208-
# - name: Install hyperopt, llm, serve, tree, and viz dependencies
209-
# run: |
210-
# # Hyperopt dependencies
211-
# pip install hyperopt
212-
# echo "Installed hyperopt successfully."
212+
pip install tblib
213+
echo "Installed tblib successfully."
214+
215+
pip install tensorboardX<2.3
216+
echo "Installed tensorboardX successfully."
217+
218+
- name: Install Dependencies for Group: explain
219+
run: |
220+
pip install captum
221+
echo "Installed captum successfully."
222+
223+
- name: Install Dependencies for Group: extra
224+
run: |
225+
pip install horovod[pytorch]>=0.24.0,!=0.26.0
226+
echo "Installed horovod[pytorch] successfully."
227+
228+
pip install modin[ray]
229+
echo "Installed modin[ray] successfully."
230+
231+
pip install predibase>=2023.10.2
232+
echo "Installed predibase successfully."
213233
214-
# pip install "ray[default,tune]>=2.0.0"
215-
# echo "Installed hyperopt dependency: ray[default,tune]>=2.0.0 successfully."
234+
- name: Install Dependencies for Group: hyperopt
235+
run: |
236+
pip install hyperopt
237+
echo "Installed hyperopt successfully."
216238
217-
# # LLM dependencies
218-
# pip install accelerate
219-
# echo "Installed llm dependency: accelerate successfully."
239+
pip install ray[default,tune]>=2.0.0
240+
echo "Installed ray[default,tune] successfully."
220241
221-
# pip install faiss-cpu
222-
# echo "Installed llm dependency: faiss-cpu successfully."
242+
- name: Install Dependencies for Group: llm
243+
run: |
244+
pip install accelerate
245+
echo "Installed accelerate successfully."
223246
224-
# pip install loralib
225-
# echo "Installed llm dependency: loralib successfully."
247+
pip install faiss-cpu
248+
echo "Installed faiss-cpu successfully."
226249
227-
# pip install "peft>=0.10.0"
228-
# echo "Installed llm dependency: peft>=0.10.0 successfully."
250+
pip install loralib
251+
echo "Installed loralib successfully."
229252
230-
# pip install sentence-transformers
231-
# echo "Installed llm dependency: sentence-transformers successfully."
253+
pip install peft>=0.10.0
254+
echo "Installed peft successfully."
232255
233-
# # Serve dependencies
234-
# pip install cartonml-nightly
235-
# echo "Installed serve dependency: cartonml-nightly successfully."
256+
pip install sentence-transformers
257+
echo "Installed sentence-transformers successfully."
236258
237-
# pip install fastapi
238-
# echo "Installed serve dependency: fastapi successfully."
259+
- name: Install Dependencies for Group: serve
260+
run: |
261+
pip install cartonml-nightly
262+
echo "Installed cartonml-nightly successfully."
239263
240-
# pip install httpx
241-
# echo "Installed serve dependency: httpx successfully."
264+
pip install fastapi
265+
echo "Installed fastapi successfully."
242266
243-
# pip install "neuropod==0.3.0rc6 ; platform_system != 'Windows' and python_version < '3.9'"
244-
# echo "Installed serve dependency: neuropod==0.3.0rc6 successfully (if applicable)."
267+
pip install httpx
268+
echo "Installed httpx successfully."
245269
246-
# pip install python-multipart
247-
# echo "Installed serve dependency: python-multipart successfully."
270+
pip install "neuropod==0.3.0rc6 ; platform_system != 'Windows' and python_version < '3.9'"
271+
echo "Installed neuropod successfully."
248272
249-
# pip install uvicorn
250-
# echo "Installed serve dependency: uvicorn successfully."
273+
pip install python-multipart
274+
echo "Installed python-multipart successfully."
251275
252-
# pip install starlette
253-
# echo "Installed serve dependency: starlette successfully."
276+
pip install uvicorn
277+
echo "Installed uvicorn successfully."
254278
255-
# # Tree dependencies
256-
# pip install "hummingbird-ml>=0.4.8"
257-
# echo "Installed tree dependency: hummingbird-ml>=0.4.8 successfully."
279+
pip install starlette
280+
echo "Installed starlette successfully."
258281
259-
# pip install lightgbm
260-
# echo "Installed tree dependency: lightgbm successfully."
282+
- name: Install Dependencies for Group: tree
283+
run: |
284+
pip install hummingbird-ml>=0.4.8
285+
echo "Installed hummingbird-ml successfully."
261286
262-
# pip install lightgbm-ray
263-
# echo "Installed tree dependency: lightgbm-ray successfully."
287+
pip install lightgbm
288+
echo "Installed lightgbm successfully."
264289
265-
# # Viz dependencies
266-
# pip install hiplot
267-
# echo "Installed viz dependency: hiplot successfully."
290+
pip install lightgbm-ray
291+
echo "Installed lightgbm-ray successfully."
268292
269-
# pip install "matplotlib==3.9.3"
270-
# echo "Installed viz dependency: matplotlib==3.9.3 successfully."
293+
- name: Install Dependencies for Group: viz
294+
run: |
295+
pip install hiplot
296+
echo "Installed hiplot successfully."
271297
272-
# pip install ptitprince
273-
# echo "Installed viz dependency: ptitprince successfully."
298+
pip install matplotlib==3.9.3
299+
echo "Installed matplotlib successfully."
274300
275-
# pip install "seaborn>=0.7,<0.12"
276-
# echo "Installed viz dependency: seaborn>=0.7,<0.12 successfully."
301+
pip install ptitprince
302+
echo "Installed ptitprince successfully."
277303
278-
- name: Test install all
279-
run : |
280-
pip install .[dev,test,benchmarking,distributed,explain,extra,hyperopt,llm,serve,tree,viz]
304+
pip install seaborn>=0.7,<0.12
305+
echo "Installed seaborn successfully."
281306
282307
283308
- name: Debug dependency tree

0 commit comments

Comments
 (0)