55
55
echo "::add-matcher::.github/workflows/matchers/pylint.json"
56
56
- name : Install dependencies
57
57
env :
58
- INSTALL_LARGE_PYTHON_DEPS : true
59
- INSTALL_SMALL_PYTHON_DEPS : true
58
+ INSTALL_ML_DEPENDENCIES : true
60
59
run : |
61
60
source ./dev/install-common-deps.sh
62
61
pip install -r requirements/lint-requirements.txt
@@ -110,8 +109,7 @@ jobs:
110
109
- uses : ./.github/actions/cache-pip
111
110
- name : Install dependencies
112
111
env :
113
- INSTALL_LARGE_PYTHON_DEPS : true
114
- INSTALL_SMALL_PYTHON_DEPS : true
112
+ INSTALL_ML_DEPENDENCIES : true
115
113
run : |
116
114
source ./dev/install-common-deps.sh
117
115
- name : Run tests
@@ -221,8 +219,7 @@ jobs:
221
219
- uses : ./.github/actions/cache-pip
222
220
- name : Install dependencies
223
221
env :
224
- INSTALL_LARGE_PYTHON_DEPS : true
225
- INSTALL_SMALL_PYTHON_DEPS : true
222
+ INSTALL_ML_DEPENDENCIES : true
226
223
run : |
227
224
source ./dev/install-common-deps.sh
228
225
- name : Run tests
@@ -249,9 +246,6 @@ jobs:
249
246
java-version : 11
250
247
distribution : ' adopt'
251
248
- name : Install dependencies
252
- env :
253
- INSTALL_SMALL_PYTHON_DEPS : true
254
- INSTALL_LARGE_PYTHON_DEPS : false
255
249
run : |
256
250
source ./dev/install-common-deps.sh
257
251
pip install pyspark
@@ -276,12 +270,9 @@ jobs:
276
270
java-version : 11
277
271
distribution : ' adopt'
278
272
- name : Install dependencies
279
- env :
280
- INSTALL_SMALL_PYTHON_DEPS : true
281
- INSTALL_LARGE_PYTHON_DEPS : false
282
273
run : |
283
274
source ./dev/install-common-deps.sh
284
- pip install keras tensorflow
275
+ pip install keras tensorflow pyspark
285
276
- name : Run tests
286
277
env :
287
278
SPARK_LOCAL_IP : 127.0.0.1
@@ -303,8 +294,7 @@ jobs:
303
294
distribution : ' adopt'
304
295
- name : Install dependencies
305
296
env :
306
- INSTALL_LARGE_PYTHON_DEPS : true
307
- INSTALL_SMALL_PYTHON_DEPS : true
297
+ INSTALL_ML_DEPENDENCIES : true
308
298
run : |
309
299
source ./dev/install-common-deps.sh
310
300
- name : Run tests
@@ -328,9 +318,10 @@ jobs:
328
318
distribution : ' adopt'
329
319
- name : Install python dependencies
330
320
run : |
331
- pip install -r requirements/small -requirements.txt
321
+ pip install -r requirements/test -requirements.txt
332
322
pip install --no-dependencies tests/resources/mlflow-test-plugin
333
323
pip install -e .[extras]
324
+ pip install pyspark
334
325
- name : Run python tests
335
326
run : |
336
327
pytest --ignore-flavors --ignore=tests/projects --ignore=tests/examples tests
0 commit comments