Skip to content

Commit

Permalink
FIX-modin-project#1867: try to use cache
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
  • Loading branch information
anmyachev committed Jul 31, 2020
1 parent 52e4ba5 commit 2fad256
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-python-3.7-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.yml') }}
- uses: goanpeca/setup-miniconda@v1.6.0
with:
activate-environment: modin
Expand All @@ -78,6 +86,14 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-python-3.7-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.yml') }}
- uses: goanpeca/setup-miniconda@v1.6.0
with:
activate-environment: modin
Expand All @@ -100,6 +116,14 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-python-3.6-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.yml') }}
- uses: goanpeca/setup-miniconda@v1.6.0
with:
activate-environment: modin
Expand Down Expand Up @@ -131,6 +155,14 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-python-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.yml') }}
- uses: goanpeca/setup-miniconda@v1.6.0
with:
activate-environment: modin
Expand Down

0 comments on commit 2fad256

Please sign in to comment.