File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,15 @@ jobs:
85
85
spec : main
86
86
run-expensive-tests : true
87
87
report-coverage : true
88
+ save-cache : true
88
89
- python-version : ' 3.12'
89
90
conda-env : dev
90
91
spec : conda
91
92
- python-version : ' 3.13'
92
93
conda-env : dev
93
94
spec : main
95
+ save-cache : true
96
+
94
97
steps :
95
98
- uses : actions/checkout@v4
96
99
- id : setup
@@ -160,13 +163,18 @@ jobs:
160
163
id : bioimageio-cache
161
164
with :
162
165
path : bioimageio_cache
163
- key : ${{needs.populate-cache.outputs.cache-key}}
164
- fail-on-cache-miss : true
166
+ key : ${{needs.populate-cache.outputs.cache-key}}${{matrix.run-expensive-tests && '' || '-light'}}
165
167
- name : pytest
166
168
run : pytest --disable-pytest-warnings
167
169
env :
168
170
BIOIMAGEIO_CACHE_PATH : bioimageio_cache
169
171
RUN_EXPENSIVE_TESTS : ${{ matrix.run-expensive-tests && 'true' || 'false' }}
172
+ - name : Save updated bioimageio cache
173
+ if : matrix.save-cache
174
+ uses : actions/cache/save@v4
175
+ with :
176
+ path : bioimageio_cache
177
+ key : ${{needs.populate-cache.outputs.cache-key}}${{matrix.run-expensive-tests && '' || '-light'}}
170
178
- if : matrix.report-coverage && github.event_name == 'pull_request'
171
179
172
180
with :
You can’t perform that action at this time.
0 commit comments