Skip to content

Commit 03fe0d6

Browse files
authored
TEST-#2030: speed up cache; decrease parallel jobs in push.yml (#2031)
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
1 parent 7d6eef9 commit 03fe0d6

File tree

1 file changed

+21
-24
lines changed

1 file changed

+21
-24
lines changed

.github/workflows/push.yml

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,11 @@ jobs:
2323
with:
2424
path: ~\AppData\Local\pip\Cache
2525
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
26-
- uses: goanpeca/setup-miniconda@v1.6.0
26+
- uses: actions/setup-python@v2
2727
with:
2828
python-version: ${{matrix.python-version}}
29-
channel-priority: strict
30-
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
31-
auto-update-conda: true
32-
- shell: bash -l {0}
33-
run: pip install ray==0.8.7
34-
- name: Conda environment
35-
shell: bash -l {0}
36-
run: |
37-
conda info
38-
conda list
29+
architecture: "x64"
30+
- run: pip install ray==0.8.7
3931

4032
test-all:
4133
needs: prepare-cache
@@ -44,11 +36,10 @@ jobs:
4436
matrix:
4537
python-version: ["3.6", "3.7", "3.8"]
4638
engine: ["python", "ray", "dask"]
47-
part: ["reduction", "binary", "map_metadata", "udf", "default", "window", "indexing", "iter", "join_sort", 3]
4839
env:
4940
MODIN_ENGINE: ${{matrix.engine}}
5041
MODIN_MEMORY: 1000000000
51-
name: test (${{matrix.engine}}, part ${{matrix.part}}, python ${{matrix.python-version}})
42+
name: test-ubuntu (engine ${{matrix.engine}}, python ${{matrix.python-version}})
5243
steps:
5344
- uses: actions/checkout@v2
5445
with:
@@ -71,35 +62,41 @@ jobs:
7162
conda info
7263
conda list
7364
- name: Install HDF5
74-
if: matrix.part == 3
7565
run: sudo apt update && sudo apt install -y libhdf5-dev
7666
- shell: bash -l {0}
77-
run: pytest modin/pandas/test/dataframe/test_${{matrix.part}}.py
78-
if: matrix.part != 3
67+
run: pytest modin/pandas/test/dataframe/test_binary.py
68+
- shell: bash -l {0}
69+
run: pytest modin/pandas/test/dataframe/test_default.py
70+
- shell: bash -l {0}
71+
run: pytest modin/pandas/test/dataframe/test_indexing.py
72+
- shell: bash -l {0}
73+
run: pytest modin/pandas/test/dataframe/test_iter.py
74+
- shell: bash -l {0}
75+
run: pytest modin/pandas/test/dataframe/test_join_sort.py
76+
- shell: bash -l {0}
77+
run: pytest modin/pandas/test/dataframe/test_map_metadata.py
78+
- shell: bash -l {0}
79+
run: pytest modin/pandas/test/dataframe/test_reduction.py
80+
- shell: bash -l {0}
81+
run: pytest modin/pandas/test/dataframe/test_udf.py
82+
- shell: bash -l {0}
83+
run: pytest modin/pandas/test/dataframe/test_window.py
7984
- shell: bash -l {0}
8085
run: python -m pytest modin/pandas/test/test_series.py
81-
if: matrix.part == 3
8286
- shell: bash -l {0}
8387
run: python -m pytest modin/pandas/test/test_rolling.py
84-
if: matrix.part == 3
8588
- shell: bash -l {0}
8689
run: python -m pytest modin/pandas/test/test_concat.py
87-
if: matrix.part == 3
8890
- shell: bash -l {0}
8991
run: python -m pytest modin/pandas/test/test_groupby.py
90-
if: matrix.part == 3
9192
- shell: bash -l {0}
9293
run: python -m pytest modin/pandas/test/test_reshape.py
93-
if: matrix.part == 3
9494
- shell: bash -l {0}
9595
run: python -m pytest modin/pandas/test/test_general.py
96-
if: matrix.part == 3
9796
- shell: bash -l {0}
9897
run: python -m pytest modin/pandas/test/test_io.py
99-
if: matrix.part == 3
10098
- shell: bash -l {0}
10199
run: python -m pytest modin/experimental/pandas/test/test_io_exp.py
102-
if: matrix.part == 3
103100
- shell: bash -l {0}
104101
run: bash <(curl -s https://codecov.io/bash)
105102

0 commit comments

Comments
 (0)