@@ -153,7 +153,7 @@ commands:
153
153
-H "Accept: application/vnd.github+json" \
154
154
"https://api.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/pulls?head=$CIRCLE_PROJECT_USERNAME:$CIRCLE_BRANCH&state=open" \
155
155
| grep -o '"number":[0-9]*' | head -1 | sed 's/"number"://')
156
-
156
+
157
157
if [ -n "$PR_NUMBER" ]; then
158
158
echo "Deploying VRT for PR #$PR_NUMBER (via GitHub API)"
159
159
else
@@ -216,6 +216,7 @@ jobs:
216
216
command : |
217
217
TEST=$(circleci tests glob "{packages,tools}/*/test/*.test.js" | grep -v ".*-memory\.test\.js$" | circleci tests split --split-by=timings)
218
218
yarn test:start --files $TEST --config web-test-runner.config.ci-chromium.js --group unit-ci
219
+ max_auto_reruns : 3
219
220
- store_test_results :
220
221
path : /root/project/results/
221
222
@@ -240,8 +241,8 @@ jobs:
240
241
name : Run memory tests
241
242
command : |
242
243
TEST=$(circleci tests glob "{packages,tools}/*/test/*-memory.test.js" | grep -v "packages/color-.*/test/.*-memory\.test\.js" | grep -v "tools/grid/test/.*-memory\.test\.js" | circleci tests split --split-by=timings)
243
- echo $TEST
244
244
yarn test:start --files $TEST --config web-test-runner.config.ci-chromium-memory.js --group unit-ci
245
+ max_auto_reruns : 3
245
246
- store_test_results :
246
247
path : /root/project/results/
247
248
@@ -256,6 +257,7 @@ jobs:
256
257
command : |
257
258
TEST=$(circleci tests glob "{packages,tools}/*/test/*.test.js" | grep -v ".*-memory\.test\.js$" | circleci tests split --split-by=timings)
258
259
yarn test:start --files $TEST --config web-test-runner.config.ci-firefox.js --group unit-ci
260
+ max_auto_reruns : 3
259
261
- store_test_results :
260
262
path : /root/project/results/
261
263
@@ -270,6 +272,7 @@ jobs:
270
272
command : |
271
273
TEST=$(circleci tests glob "{packages,tools}/*/test/*.test.js" | grep -v ".*-memory\.test\.js$" | circleci tests split --split-by=timings)
272
274
yarn test:start --files $TEST --config web-test-runner.config.ci-webkit.js --group unit-ci
275
+ max_auto_reruns : 3
273
276
- store_test_results :
274
277
path : /root/project/results/
275
278
@@ -385,7 +388,7 @@ jobs:
385
388
-H "Accept: application/vnd.github+json" \
386
389
"https://api.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/pulls?head=$CIRCLE_PROJECT_USERNAME:$CIRCLE_BRANCH&state=open" \
387
390
| grep -o '"number":[0-9]*' | head -1 | sed 's/"number"://')
388
-
391
+
389
392
if [ -n "$PR_NUMBER" ]; then
390
393
echo "Deploying HCM VRT for PR #$PR_NUMBER (via GitHub API)"
391
394
else
0 commit comments