1
1
name : master
2
2
on : push
3
3
jobs :
4
- prepare-cache :
5
- runs-on : ${{ matrix.os }}
6
- strategy :
7
- matrix :
8
- os : ["ubuntu-latest", "windows-latest"]
9
- python-version : ["3.6", "3.7", "3.8"]
10
- steps :
11
- - uses : actions/checkout@v2
12
- with :
13
- fetch-depth : 1
14
- - name : Cache pip if Ubuntu
15
- if : startsWith(runner.os, 'Linux')
16
- uses : actions/cache@v1
17
- with :
18
- path : ~/.cache/pip
19
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
20
- - name : Cache pip if Windows
21
- if : startsWith(runner.os, 'Windows')
22
- uses : actions/cache@v1
23
- with :
24
- path : ~\AppData\Local\pip\Cache
25
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
26
- - uses : actions/setup-python@v2
27
- with :
28
- python-version : ${{matrix.python-version}}
29
- architecture : " x64"
30
- - run : pip install "ray>=1.0.0"
31
-
32
4
test-internals :
33
- needs : prepare-cache
34
5
runs-on : ubuntu-latest
35
6
name : test-internals
36
7
steps :
37
8
- uses : actions/checkout@v2
38
9
with :
39
10
fetch-depth : 1
40
- - name : Cache pip
41
- uses : actions/cache@v1
42
- with :
43
- path : ~/.cache/pip
44
- key : ${{ runner.os }}-python-3.6-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
45
11
- uses : conda-incubator/setup-miniconda@v2
46
12
with :
47
13
activate-environment : modin
65
31
run : python -m pytest modin/test/backends/pandas/test_internals.py
66
32
67
33
test-defaults :
68
- needs : prepare-cache
69
34
runs-on : ubuntu-latest
70
35
strategy :
71
36
matrix :
78
43
- uses : actions/checkout@v2
79
44
with :
80
45
fetch-depth : 1
81
- - name : Cache pip
82
- uses : actions/cache@v1
83
- with :
84
- path : ~/.cache/pip
85
- key : ${{ runner.os }}-python-3.6-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
86
46
- uses : conda-incubator/setup-miniconda@v2
87
47
with :
88
48
activate-environment : modin
131
91
run : bash <(curl -s https://codecov.io/bash)
132
92
133
93
test-omnisci :
134
- needs : prepare-cache
135
94
runs-on : ubuntu-latest
136
95
env :
137
96
MODIN_MEMORY : 1000000000
@@ -143,11 +102,6 @@ jobs:
143
102
- uses : actions/checkout@v2
144
103
with :
145
104
fetch-depth : 1
146
- - name : Cache pip
147
- uses : actions/cache@v1
148
- with :
149
- path : ~/.cache/pip
150
- key : ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
151
105
- name : Setting up Modin environment
152
106
uses : conda-incubator/setup-miniconda@v2
153
107
with :
@@ -169,7 +123,6 @@ jobs:
169
123
run : bash <(curl -s https://codecov.io/bash)
170
124
171
125
test-all :
172
- needs : prepare-cache
173
126
runs-on : ubuntu-latest
174
127
strategy :
175
128
matrix :
@@ -183,11 +136,6 @@ jobs:
183
136
- uses : actions/checkout@v2
184
137
with :
185
138
fetch-depth : 1
186
- - name : Cache pip
187
- uses : actions/cache@v1
188
- with :
189
- path : ~/.cache/pip
190
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
191
139
- uses : conda-incubator/setup-miniconda@v2
192
140
with :
193
141
activate-environment : modin
@@ -240,7 +188,6 @@ jobs:
240
188
run : bash <(curl -s https://codecov.io/bash)
241
189
242
190
test-windows :
243
- needs : prepare-cache
244
191
runs-on : windows-latest
245
192
strategy :
246
193
matrix :
@@ -255,11 +202,6 @@ jobs:
255
202
- uses : actions/checkout@v2
256
203
with :
257
204
fetch-depth : 1
258
- - name : Cache pip
259
- uses : actions/cache@v1
260
- with :
261
- path : ~\AppData\Local\pip\Cache
262
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
263
205
- uses : conda-incubator/setup-miniconda@v2
264
206
with :
265
207
activate-environment : modin
@@ -327,7 +269,6 @@ jobs:
327
269
run : codecov -f ./coverage.xml
328
270
329
271
test-pyarrow :
330
- needs : prepare-cache
331
272
runs-on : ubuntu-latest
332
273
strategy :
333
274
matrix :
@@ -340,11 +281,6 @@ jobs:
340
281
- uses : actions/checkout@v2
341
282
with :
342
283
fetch-depth : 1
343
- - name : Cache pip
344
- uses : actions/cache@v1
345
- with :
346
- path : ~/.cache/pip
347
- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
348
284
- uses : conda-incubator/setup-miniconda@v2
349
285
with :
350
286
activate-environment : modin
0 commit comments