Skip to content

Commit

Permalink
Remove pip caching on tests
Browse files Browse the repository at this point in the history
Creating undefined hard to track behavior.
  • Loading branch information
emirkmo committed May 16, 2022
1 parent 1897bea commit 9efc961
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ jobs:
with:
python-version: 3.9

- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-py3.9-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-py3.9-
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
Expand All @@ -46,9 +37,9 @@ jobs:
run: |
# stop the build if there are Python syntax errors or undefined names
# For some reason we have to specifically ignore G001 as well
flake8 --select=E9,F63,F7,F82 --show-source --ignore G001,G004
flake8 --select=E9,F63,F7,F82 --show-source --ignore=G001,G004
# exit-zero treats all errors as warnings.
flake8 --exit-zero
# flake8 --exit-zero
# Run unit tests on Linux, OSX and Windows
pytest:
Expand Down

0 comments on commit 9efc961

Please sign in to comment.