Skip to content

Commit 6e070b3

Browse files
[ci] Do not cache nox downloads in cross-arch tests
This ensures that nox always downloads the latest python packages for pytest-max. Signed-off-by: Tiyash Basu <[email protected]>
1 parent de5cfd3 commit 6e070b3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,6 @@ jobs:
140140
rm -rf /tmp/.buildx-cache
141141
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
142142
143-
# Cache nox downloads
144-
- name: Cache nox downloads
145-
uses: actions/cache@v3
146-
with:
147-
path: |
148-
.nox/${{ matrix.nox-session }}
149-
key: nox-${{ matrix.nox-session }}-${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.python }}-${{ hashFiles('**/pyproject.toml') }}
150-
151143
- name: Run nox
152144
run: |
153145
docker run \
@@ -157,7 +149,7 @@ jobs:
157149
--net=host \
158150
--platform linux/${{ matrix.arch }} \
159151
localhost/nox-cross-arch:latest \
160-
nox -R -e ${{ matrix.nox-session }}
152+
nox -e ${{ matrix.nox-session }}
161153
timeout-minutes: 30
162154

163155
build:

0 commit comments

Comments
 (0)