Skip to content

Commit

Permalink
Try removing caching
Browse files Browse the repository at this point in the history
Everything's still failing for no clear reason

For #89
  • Loading branch information
philgyford committed Jan 17, 2025
1 parent c004678 commit 5c4546b
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,25 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Get pip cache dir
id: pip-cache
run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: Set up pip cache
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ matrix.python-version }}-v2-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ matrix.python-version }}-v2-
# - name: Get pip cache dir
# id: pip-cache
# run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

# - name: Set up pip cache
# uses: actions/cache@v4
# with:
# path: ${{ steps.pip-cache.outputs.dir }}
# key: ${{ matrix.python-version }}-v2-${{ hashFiles('**/pyproject.toml') }}
# restore-keys: |
# ${{ matrix.python-version }}-v2-

- name: Install Python packages
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox tox-gh-actions
- name: Test with Tox
run: tox --verbose
run: tox --verbose --parallel auto
env:
DJANGO: ${{ matrix.django-version }}

Expand All @@ -80,17 +80,17 @@ jobs:
with:
python-version: "3.12"

- name: Get pip cache dir
id: pip-cache
run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: Set up pip cache
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ matrix.python-version }}-v2-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ matrix.python-version }}-v2-
# - name: Get pip cache dir
# id: pip-cache
# run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

# - name: Set up pip cache
# uses: actions/cache@v4
# with:
# path: ${{ steps.pip-cache.outputs.dir }}
# key: ${{ matrix.python-version }}-v2-${{ hashFiles('**/pyproject.toml') }}
# restore-keys: |
# ${{ matrix.python-version }}-v2-

- name: Install dependencies
run: |
Expand Down

0 comments on commit 5c4546b

Please sign in to comment.