Skip to content

Commit 5accf0f

Browse files
authored
Disable uv cache for smokeshow as there's nothing to cache (#3283)
1 parent e2ba27a commit 5accf0f

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/after-ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
- uses: astral-sh/setup-uv@v5
1818
with:
1919
python-version: "3.12"
20-
enable-cache: true
21-
cache-suffix: smokeshow
2220

2321
- uses: dawidd6/action-download-artifact@v6
2422
with:

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ jobs:
164164
with:
165165
python-version: ${{ matrix.python-version }}
166166
enable-cache: true
167-
prune-cache: false
168167
cache-suffix: ${{ matrix.install.name }}
169168

170169
- uses: denoland/setup-deno@v2
@@ -173,9 +172,10 @@ jobs:
173172

174173
- run: mkdir .coverage
175174

176-
- run: uv run mcp-run-python example --deps=numpy
177175
- run: uv sync --only-dev
178176

177+
- run: uv run mcp-run-python example --deps=numpy
178+
179179
- name: cache HuggingFace models
180180
uses: actions/cache@v4
181181
with:
@@ -213,7 +213,6 @@ jobs:
213213
with:
214214
python-version: ${{ matrix.python-version }}
215215
enable-cache: true
216-
prune-cache: false
217216
cache-suffix: lowest-versions
218217

219218
- uses: denoland/setup-deno@v2
@@ -224,6 +223,8 @@ jobs:
224223

225224
- run: uv sync --group dev
226225

226+
- run: uv run mcp-run-python example --deps=numpy
227+
227228
- name: cache HuggingFace models
228229
uses: actions/cache@v4
229230
with:
@@ -232,8 +233,6 @@ jobs:
232233
restore-keys: |
233234
hf-${{ runner.os }}-
234235
235-
- run: uv run mcp-run-python example --deps=numpy
236-
237236
- run: unset UV_FROZEN
238237

239238
- run: uv run --all-extras --resolution lowest-direct coverage run -m pytest --durations=100 -n auto --dist=loadgroup
@@ -264,7 +263,6 @@ jobs:
264263
with:
265264
python-version: ${{ matrix.python-version }}
266265
enable-cache: true
267-
prune-cache: false
268266
cache-suffix: all-extras
269267

270268
- name: cache HuggingFace models

0 commit comments

Comments
 (0)