From ee7734c3e397eee2b27e1a3184596c5332bdfd62 Mon Sep 17 00:00:00 2001 From: Michael Skarbek Date: Wed, 7 Oct 2020 09:35:19 -0400 Subject: [PATCH 1/2] temporarily disable github-action cache --- .github/workflows/unittests.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 302116c81c..7233c8c040 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -47,17 +47,17 @@ jobs: - name: Install pipenv run: sudo python3 -m pip install pipenv==2018.11.26 - - name: Cache dependencies - id: cache-dependencies - uses: actions/cache@v2 - with: - path: | - ~/.cache/pipenv - ~/.local/share/virtualenvs - key: ${{ runner.os }}-env-${{ matrix.python-version }}-${{ hashFiles('**/Pipfile.lock') }}-${{ github.ref }} + # - name: Cache dependencies + # id: cache-dependencies + # uses: actions/cache@v2 + # with: + # path: | + # ~/.cache/pipenv + # ~/.local/share/virtualenvs + # key: ${{ runner.os }}-env-${{ matrix.python-version }}-${{ hashFiles('**/Pipfile.lock') }}-${{ github.ref }} - name: Install dependencies - if: steps.cache-dependencies.outputs.cache-hit != 'true' + # if: steps.cache-dependencies.outputs.cache-hit != 'true' run: | pipenv install --dev --ignore-pipfile --python ${{ matrix.python-version }} From bf982fac38f2592507f0c390c10925adaf111bc4 Mon Sep 17 00:00:00 2001 From: Michael Skarbek Date: Wed, 7 Oct 2020 09:44:45 -0400 Subject: [PATCH 2/2] change cache key --- .github/workflows/unittests.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 7233c8c040..ce68fea1c4 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -47,17 +47,17 @@ jobs: - name: Install pipenv run: sudo python3 -m pip install pipenv==2018.11.26 - # - name: Cache dependencies - # id: cache-dependencies - # uses: actions/cache@v2 - # with: - # path: | - # ~/.cache/pipenv - # ~/.local/share/virtualenvs - # key: ${{ runner.os }}-env-${{ matrix.python-version }}-${{ hashFiles('**/Pipfile.lock') }}-${{ github.ref }} + - name: Cache dependencies + id: cache-dependencies + uses: actions/cache@v2 + with: + path: | + ~/.cache/pipenv + ~/.local/share/virtualenvs + key: os-${{ runner.os }}-env-${{ matrix.python-version }}-${{ hashFiles('**/Pipfile.lock') }}-${{ github.ref }} - name: Install dependencies - # if: steps.cache-dependencies.outputs.cache-hit != 'true' + if: steps.cache-dependencies.outputs.cache-hit != 'true' run: | pipenv install --dev --ignore-pipfile --python ${{ matrix.python-version }}