From 88e68ca386a8ffeacc038bd59943bb03e7f833a4 Mon Sep 17 00:00:00 2001 From: Artem Veremey Date: Sat, 29 May 2021 16:44:03 -0700 Subject: [PATCH] Pip needs to be installed in the environment first --- .github/workflows/test.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffae1ed1171..ea3bac27122 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -178,19 +178,6 @@ jobs: path: ~/conda_pkgs_dir key: conda-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('requirements*.txt') }} - - name: Get pip cache dir - id: pip-cache - run: | - echo "::set-output name=dir::$(pip cache dir)" - - - name: pip cache - uses: actions/cache@v2 - with: - path: ${{ steps.pip-cache.outputs.dir }} - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Setup Miniconda uses: conda-incubator/setup-miniconda@v2 with: @@ -210,6 +197,19 @@ jobs: run: >- c:\windows\system32\icacls C:\Users\runneradmin\AppData\Local\Temp /grant "everyone":F /t + - name: Get pip cache dir + id: pip-cache + run: | + echo "::set-output name=dir::$(pip cache dir)" + + - name: pip cache + uses: actions/cache@v2 + with: + path: ${{ steps.pip-cache.outputs.dir }} + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + - name: Install dependencies (Bash) shell: bash -l {0} run: |