File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ jobs:
242242 NODE_OPTIONS : --max-old-space-size=8192
243243 run : pnpm nx run-many -t lint --parallel=3
244244
245- - name : Run tests (except algorithms)
245+ - name : Run tests
246246 timeout-minutes : 6
247247 env :
248248 NODE_OPTIONS : --max-old-space-size=3072
@@ -258,26 +258,6 @@ jobs:
258258 pnpm nx test:coverage web --skip-nx-cache --testNamePattern="\.unit\.test\." &
259259 wait
260260
261- - name : Run algorithms tests separately
262- timeout-minutes : 10
263- env :
264- NODE_OPTIONS : --max-old-space-size=6144
265- NX_PARALLEL : 1
266- CI : true
267- run : |
268- cd packages/algorithms
269- timeout 300 npx vitest run --reporter=verbose --coverage --test-timeout=45000 || {
270- exit_code=$?
271- echo "Algorithm tests completed with exit code: $exit_code"
272- # Check if the tests actually passed despite timeout
273- if [ $exit_code -eq 124 ]; then
274- echo "Tests timed out but may have completed successfully"
275- exit 0
276- else
277- exit $exit_code
278- fi
279- }
280-
281261 - name : Verify build artifacts before upload
282262 run : |
283263 echo "=== Verifying build artifacts before upload ==="
You can’t perform that action at this time.
0 commit comments