@@ -67,47 +67,13 @@ jobs:
67
67
- run : pip install flake8 flake8-print
68
68
- run : flake8 --enable=T modin
69
69
70
- prepare-cache :
71
- runs-on : ${{ matrix.os }}
72
- strategy :
73
- matrix :
74
- os : ["ubuntu-latest", "windows-latest"]
75
- python-version : ["3.6", "3.7", "3.8"]
76
- steps :
77
- - uses : actions/checkout@v2
78
- with :
79
- fetch-depth : 1
80
- - name : Cache pip if Ubuntu
81
- if : startsWith(runner.os, 'Linux')
82
- uses : actions/cache@v1
83
- with :
84
- path : ~/.cache/pip
85
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
86
- - name : Cache pip if Windows
87
- if : startsWith(runner.os, 'Windows')
88
- uses : actions/cache@v1
89
- with :
90
- path : ~\AppData\Local\pip\Cache
91
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
92
- - uses : actions/setup-python@v2
93
- with :
94
- python-version : ${{matrix.python-version}}
95
- architecture : " x64"
96
- - run : pip install "ray>=1.0.0"
97
-
98
70
test-api :
99
- needs : prepare-cache
100
71
runs-on : ubuntu-latest
101
72
name : test api
102
73
steps :
103
74
- uses : actions/checkout@v2
104
75
with :
105
76
fetch-depth : 1
106
- - name : Cache pip
107
- uses : actions/cache@v1
108
- with :
109
- path : ~/.cache/pip
110
- key : ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
111
77
- uses : conda-incubator/setup-miniconda@v2
112
78
with :
113
79
activate-environment : modin
@@ -130,18 +96,12 @@ jobs:
130
96
run : python -m pytest modin/test/test_backends_api.py
131
97
132
98
test-headers :
133
- needs : prepare-cache
134
99
runs-on : ubuntu-latest
135
100
name : test-headers
136
101
steps :
137
102
- uses : actions/checkout@v2
138
103
with :
139
104
fetch-depth : 1
140
- - name : Cache pip
141
- uses : actions/cache@v1
142
- with :
143
- path : ~/.cache/pip
144
- key : ${{ runner.os }}-python-3.6-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
145
105
- uses : conda-incubator/setup-miniconda@v2
146
106
with :
147
107
activate-environment : modin
@@ -166,11 +126,6 @@ jobs:
166
126
- uses : actions/checkout@v2
167
127
with :
168
128
fetch-depth : 1
169
- - name : Cache pip
170
- uses : actions/cache@v1
171
- with :
172
- path : ~/.cache/pip
173
- key : ${{ runner.os }}-python-3.6-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
174
129
- uses : conda-incubator/setup-miniconda@v2
175
130
with :
176
131
activate-environment : modin
@@ -209,11 +164,6 @@ jobs:
209
164
- uses : actions/checkout@v2
210
165
with :
211
166
fetch-depth : 1
212
- - name : Cache pip
213
- uses : actions/cache@v1
214
- with :
215
- path : ~/.cache/pip
216
- key : ${{ runner.os }}-python-3.6-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
217
167
- uses : conda-incubator/setup-miniconda@v2
218
168
with :
219
169
activate-environment : modin
@@ -276,11 +226,6 @@ jobs:
276
226
- uses : actions/checkout@v2
277
227
with :
278
228
fetch-depth : 1
279
- - name : Cache pip
280
- uses : actions/cache@v1
281
- with :
282
- path : ~/.cache/pip
283
- key : ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
284
229
- name : Setting up Modin environment
285
230
uses : conda-incubator/setup-miniconda@v2
286
231
with :
@@ -313,11 +258,6 @@ jobs:
313
258
- uses : actions/checkout@v2
314
259
with :
315
260
fetch-depth : 1
316
- - name : Cache pip
317
- uses : actions/cache@v1
318
- with :
319
- path : ~/.cache/pip
320
- key : ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
321
261
- uses : conda-incubator/setup-miniconda@v2
322
262
with :
323
263
activate-environment : modin
@@ -372,11 +312,6 @@ jobs:
372
312
- uses : actions/checkout@v2
373
313
with :
374
314
fetch-depth : 1
375
- - name : Cache pip
376
- uses : actions/cache@v1
377
- with :
378
- path : ~/.cache/pip
379
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
380
315
- uses : conda-incubator/setup-miniconda@v2
381
316
with :
382
317
activate-environment : modin
@@ -440,11 +375,6 @@ jobs:
440
375
- uses : actions/checkout@v2
441
376
with :
442
377
fetch-depth : 1
443
- - name : Cache pip
444
- uses : actions/cache@v1
445
- with :
446
- path : ~/.cache/pip
447
- key : ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
448
378
- uses : conda-incubator/setup-miniconda@v2
449
379
with :
450
380
activate-environment : modin
@@ -478,11 +408,6 @@ jobs:
478
408
- uses : actions/checkout@v2
479
409
with :
480
410
fetch-depth : 1
481
- - name : Cache pip
482
- uses : actions/cache@v1
483
- with :
484
- path : ~/.cache/pip
485
- key : ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
486
411
- uses : conda-incubator/setup-miniconda@v2
487
412
with :
488
413
activate-environment : modin
@@ -516,11 +441,6 @@ jobs:
516
441
- uses : actions/checkout@v2
517
442
with :
518
443
fetch-depth : 1
519
- - name : Cache pip
520
- uses : actions/cache@v1
521
- with :
522
- path : ~\AppData\Local\pip\Cache
523
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
524
444
- uses : conda-incubator/setup-miniconda@v2
525
445
with :
526
446
activate-environment : modin
@@ -601,11 +521,6 @@ jobs:
601
521
- uses : actions/checkout@v2
602
522
with :
603
523
fetch-depth : 1
604
- - name : Cache pip
605
- uses : actions/cache@v1
606
- with :
607
- path : ~/.cache/pip
608
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
609
524
- uses : conda-incubator/setup-miniconda@v2
610
525
with :
611
526
activate-environment : modin
0 commit comments