Skip to content

Commit

Permalink
Disable caching for now
Browse files Browse the repository at this point in the history
Works okay, runs in ~50s.
Problem would be:
pip install -r requirements also installs the project itself...
#4
  • Loading branch information
Martin Röbke authored Jun 1, 2020
1 parent a5330f2 commit 09536d0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
with:
python-version: 3.8

- uses: actions/cache@v2
id: cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
# - uses: actions/cache@v2
# id: cache
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
# restore-keys: |
# ${{ runner.os }}-pip-

- name: Install Workflow dependencies
run: |
Expand All @@ -37,7 +37,6 @@ jobs:
pip install flake8 pytest
- name: Install project dependencies
if: steps.cache.outputs.cache-hit != 'true'
run:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

Expand Down

0 comments on commit 09536d0

Please sign in to comment.