Skip to content

Commit 9428b14

Browse files
committed
FIX-#2561: Remove pip caching from push CI actions
Signed-off-by: Vasilij Litvinov <[email protected]>
1 parent 61df98a commit 9428b14

File tree

1 file changed

+0
-64
lines changed

1 file changed

+0
-64
lines changed

.github/workflows/push.yml

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,13 @@
11
name: master
22
on: push
33
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-
324
test-internals:
33-
needs: prepare-cache
345
runs-on: ubuntu-latest
356
name: test-internals
367
steps:
378
- uses: actions/checkout@v2
389
with:
3910
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') }}
4511
- uses: conda-incubator/setup-miniconda@v2
4612
with:
4713
activate-environment: modin
@@ -65,7 +31,6 @@ jobs:
6531
run: python -m pytest modin/test/backends/pandas/test_internals.py
6632

6733
test-defaults:
68-
needs: prepare-cache
6934
runs-on: ubuntu-latest
7035
strategy:
7136
matrix:
@@ -78,11 +43,6 @@ jobs:
7843
- uses: actions/checkout@v2
7944
with:
8045
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') }}
8646
- uses: conda-incubator/setup-miniconda@v2
8747
with:
8848
activate-environment: modin
@@ -131,7 +91,6 @@ jobs:
13191
run: bash <(curl -s https://codecov.io/bash)
13292

13393
test-omnisci:
134-
needs: prepare-cache
13594
runs-on: ubuntu-latest
13695
env:
13796
MODIN_MEMORY: 1000000000
@@ -143,11 +102,6 @@ jobs:
143102
- uses: actions/checkout@v2
144103
with:
145104
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') }}
151105
- name: Setting up Modin environment
152106
uses: conda-incubator/setup-miniconda@v2
153107
with:
@@ -169,7 +123,6 @@ jobs:
169123
run: bash <(curl -s https://codecov.io/bash)
170124

171125
test-all:
172-
needs: prepare-cache
173126
runs-on: ubuntu-latest
174127
strategy:
175128
matrix:
@@ -183,11 +136,6 @@ jobs:
183136
- uses: actions/checkout@v2
184137
with:
185138
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') }}
191139
- uses: conda-incubator/setup-miniconda@v2
192140
with:
193141
activate-environment: modin
@@ -240,7 +188,6 @@ jobs:
240188
run: bash <(curl -s https://codecov.io/bash)
241189

242190
test-windows:
243-
needs: prepare-cache
244191
runs-on: windows-latest
245192
strategy:
246193
matrix:
@@ -255,11 +202,6 @@ jobs:
255202
- uses: actions/checkout@v2
256203
with:
257204
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') }}
263205
- uses: conda-incubator/setup-miniconda@v2
264206
with:
265207
activate-environment: modin
@@ -327,7 +269,6 @@ jobs:
327269
run: codecov -f ./coverage.xml
328270

329271
test-pyarrow:
330-
needs: prepare-cache
331272
runs-on: ubuntu-latest
332273
strategy:
333274
matrix:
@@ -340,11 +281,6 @@ jobs:
340281
- uses: actions/checkout@v2
341282
with:
342283
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') }}
348284
- uses: conda-incubator/setup-miniconda@v2
349285
with:
350286
activate-environment: modin

0 commit comments

Comments
 (0)