Skip to content

Commit e1e62db

Browse files
committed
fixup! CI: R
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent a33e788 commit e1e62db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
id: restore-pytest-cache
6969
with:
7070
path: .pytest_cache
71-
key: ${{ format('{0}-pytest-cache-{1}-{2}-{3}-{4}', runner.os, matrix.os, matrix.python, github.ref_name, github.run_number - 1) }}
71+
key: ${{ runner.os }}-pytest-cache-${{ matrix.os }}-${{ matrix.python }}-${{ github.ref_name }}-no-cache
7272
restore-keys: |
7373
${{ runner.os }}-pytest-cache-${{ matrix.os }}-${{ matrix.python }}-${{ github.ref_name }}-
7474
@@ -97,7 +97,7 @@ jobs:
9797
fi
9898
timeout-minutes: 10
9999

100-
# Save pytest cache only for pytest_min session
100+
# Save pytest cache only for pytest_min session and only on failure
101101
- name: Save pytest cache
102102
if: always() && matrix.nox-session == 'pytest_min'
103103
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)