Skip to content

Commit

Permalink
ci: Fix cache key for Matplotlib data
Browse files Browse the repository at this point in the history
All the others key off `matrix.os`, but this cache used `runner.os`,
which doesn't key off the architecture, so Ubuntu x86_64 and arm were
cross-contaminated.
  • Loading branch information
QuLogic committed Jan 21, 2025
1 parent 06548d2 commit 5f7cb7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,10 @@ jobs:
~/.cache/matplotlib
!~/.cache/matplotlib/tex.cache
!~/.cache/matplotlib/test_cache
key: 4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
key: 5-${{ matrix.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
restore-keys: |
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-
5-${{ matrix.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
5-${{ matrix.os }}-py${{ matrix.python-version }}-mpl-
- name: Install Python dependencies
run: |
Expand Down

0 comments on commit 5f7cb7f

Please sign in to comment.