@tscircuit/eval 0.0.321 → 0.0.322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -41,4 +41,18 @@ jobs:
|
|
|
41
41
|
|
|
42
42
|
- run: bun run build
|
|
43
43
|
- name: Run tests for ${{ matrix.test-dir }}
|
|
44
|
-
run:
|
|
44
|
+
run: |
|
|
45
|
+
set +e
|
|
46
|
+
for i in 1 2 3; do
|
|
47
|
+
bun test tests/${{ matrix.test-dir }} --timeout 30000
|
|
48
|
+
code=$?
|
|
49
|
+
if [ $code -eq 0 ]; then
|
|
50
|
+
exit 0
|
|
51
|
+
fi
|
|
52
|
+
if [ $code -ne 139 ]; then
|
|
53
|
+
exit $code
|
|
54
|
+
fi
|
|
55
|
+
echo "Segmentation fault detected, retrying ($i/3)..."
|
|
56
|
+
done
|
|
57
|
+
echo "Tests failed due to segmentation fault after 3 attempts."
|
|
58
|
+
exit 139
|