Skip to content

Commit

Permalink
[MRG] fix python tests by bumping tox and pip cache versions (#2424)
Browse files Browse the repository at this point in the history
This PR appears to fix recent test failures in the Python tests, which I
had guessed were due to tox caching too many files; I bumped the cache
numbers to attempt to start from a clean reinstall.
  • Loading branch information
ctb committed Dec 27, 2022
1 parent c69fdf2 commit 84d7aa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-v3-${{ hashFiles('**/setup.cfg') }}
key: ${{ runner.os }}-pip-v4-${{ hashFiles('**/setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-v3-
${{ runner.os }}-pip-v4-
- name: Install dependencies
run: |
Expand All @@ -65,9 +65,9 @@ jobs:
uses: actions/cache@v3
with:
path: .tox/
key: ${{ runner.os }}-tox-v3-${{ hashFiles('**/setup.cfg') }}
key: ${{ runner.os }}-tox-v4-${{ hashFiles('**/setup.cfg') }}
restore-keys: |
${{ runner.os }}-tox-v3-
${{ runner.os }}-tox-v4-
- name: Test with tox
run: tox
Expand Down

0 comments on commit 84d7aa9

Please sign in to comment.