81
81
- name : Run tests
82
82
run : |
83
83
export THYMIS_FLAKE_ROOT='..'
84
- ../.github/npm_test_integration.sh
84
+ nix develop .#ci --command ../.github/npm_test_integration.sh
85
85
working-directory : frontend
86
86
- uses : actions/upload-artifact@v4
87
87
id : artifact-upload
@@ -169,7 +169,7 @@ jobs:
169
169
- name : Run tests
170
170
run : |
171
171
# export THYMIS_FLAKE_ROOT='..' # stable input needs THYMIS_FLAKE_ROOT to be unset
172
- ../.github/npm_test_integration.sh
172
+ nix develop .#ci --command ../.github/npm_test_integration.sh
173
173
working-directory : frontend
174
174
- uses : actions/upload-artifact@v4
175
175
id : artifact-upload
@@ -193,10 +193,6 @@ jobs:
193
193
needs : changes
194
194
if : ${{ ! (needs.changes.outputs.package-lock-json == 'true' && github.actor == 'renovate[bot]' && github.event_name == 'pull_request') }}
195
195
steps :
196
- - name : Delete huge unnecessary tools folder
197
- run : |
198
- cd /opt
199
- find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
200
196
- uses : actions/checkout@v4
201
197
- uses : ./.github/actions/setup-nix
202
198
with :
@@ -216,7 +212,7 @@ jobs:
216
212
- name : Run tests
217
213
run : |
218
214
export THYMIS_FLAKE_ROOT='..'
219
- ../.github/npm_test_integration.sh -- tests/x86_vm.spec.ts
215
+ nix develop .#ci --command ../.github/npm_test_integration.sh -- tests/x86_vm.spec.ts
220
216
working-directory : frontend
221
217
- uses : actions/upload-artifact@v4
222
218
id : artifact-upload
@@ -240,10 +236,6 @@ jobs:
240
236
needs : changes
241
237
if : ${{ ! (needs.changes.outputs.package-lock-json == 'true' && github.actor == 'renovate[bot]' && github.event_name == 'pull_request') }}
242
238
steps :
243
- - name : Delete huge unnecessary tools folder
244
- run : |
245
- cd /opt
246
- find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
247
239
- uses : actions/checkout@v4
248
240
- uses : ./.github/actions/setup-nix
249
241
with :
@@ -263,7 +255,7 @@ jobs:
263
255
- name : Run tests
264
256
run : |
265
257
# export THYMIS_FLAKE_ROOT='..' # stable input needs THYMIS_FLAKE_ROOT to be unset
266
- ../.github/npm_test_integration.sh -- tests/x86_vm.spec.ts
258
+ nix develop .#ci --command ../.github/npm_test_integration.sh -- tests/x86_vm.spec.ts
267
259
working-directory : frontend
268
260
- uses : actions/upload-artifact@v4
269
261
id : artifact-upload
@@ -286,9 +278,6 @@ jobs:
286
278
runs-on : [self-hosted, Linux, X64]
287
279
steps :
288
280
- uses : actions/checkout@v4
289
- - name : Install pre-commit
290
- run : |
291
- nix develop .#ci --command python -m pip install pre-commit
292
281
- name : Install node dependencies
293
282
run : |
294
283
nix develop .#ci --command npm ci
0 commit comments