Skip to content

Commit 8cc5ad9

Browse files
chore: increase retry
1 parent 86e2178 commit 8cc5ad9

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/common-test.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ jobs:
7373
run: npm run deploy
7474
working-directory: test/cdk-basic
7575
- name: Test
76-
run: npx vitest --retry 1 test/cdk-basic.test.ts
76+
run: npx vitest --retry 2 test/cdk-basic.test.ts
7777
- name: Test - observability mode
78-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/cdk-basic.test.ts
78+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/cdk-basic.test.ts
7979
- name: Deploy YAML version
8080
run: npm run deploy-yaml
8181
working-directory: test/cdk-basic
8282
- name: Test YAML
83-
run: npx vitest --retry 1 test/cdk-basic.test.ts
83+
run: npx vitest --retry 2 test/cdk-basic.test.ts
8484

8585
test-cdk-esm:
8686
runs-on: ubuntu-latest
@@ -127,9 +127,9 @@ jobs:
127127
run: npm run deploy
128128
working-directory: test/cdk-esm
129129
- name: Test
130-
run: npx vitest --retry 1 test/cdk-esm.test.ts
130+
run: npx vitest --retry 2 test/cdk-esm.test.ts
131131
- name: Test - observability mode
132-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/cdk-esm.test.ts
132+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/cdk-esm.test.ts
133133

134134
test-sls-basic:
135135
runs-on: ubuntu-latest
@@ -177,9 +177,9 @@ jobs:
177177
run: npm run deploy
178178
working-directory: test/sls-basic
179179
- name: Test
180-
run: npx vitest --retry 1 test/sls-basic.test.ts
180+
run: npx vitest --retry 2 test/sls-basic.test.ts
181181
- name: Test - observability mode
182-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/sls-basic.test.ts
182+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/sls-basic.test.ts
183183

184184
test-sls-esbuild-cjs:
185185
runs-on: ubuntu-latest
@@ -227,9 +227,9 @@ jobs:
227227
run: npm run deploy
228228
working-directory: test/sls-esbuild-cjs
229229
- name: Test
230-
run: npx vitest --retry 1 test/sls-esbuild-cjs.test.ts
230+
run: npx vitest --retry 2 test/sls-esbuild-cjs.test.ts
231231
- name: Test - observability mode
232-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/sls-esbuild-cjs.test.ts
232+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/sls-esbuild-cjs.test.ts
233233

234234
test-sls-esbuild-esm:
235235
runs-on: ubuntu-latest
@@ -277,9 +277,9 @@ jobs:
277277
run: npm run deploy
278278
working-directory: test/sls-esbuild-esm
279279
- name: Test
280-
run: npx vitest --retry 1 test/sls-esbuild-esm.test.ts
280+
run: npx vitest --retry 2 test/sls-esbuild-esm.test.ts
281281
- name: Test - observability mode
282-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/sls-esbuild-esm.test.ts
282+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/sls-esbuild-esm.test.ts
283283

284284
test-osls-basic:
285285
runs-on: ubuntu-latest
@@ -327,9 +327,9 @@ jobs:
327327
run: npm run deploy
328328
working-directory: test/osls-basic
329329
- name: Test
330-
run: npx vitest --retry 1 test/osls-basic.test.ts
330+
run: npx vitest --retry 2 test/osls-basic.test.ts
331331
- name: Test - observability mode
332-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/osls-basic.test.ts
332+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/osls-basic.test.ts
333333

334334
test-osls-esbuild-cjs:
335335
runs-on: ubuntu-latest
@@ -377,9 +377,9 @@ jobs:
377377
run: npm run deploy
378378
working-directory: test/osls-esbuild-cjs
379379
- name: Test
380-
run: npx vitest --retry 1 test/osls-esbuild-cjs.test.ts
380+
run: npx vitest --retry 2 test/osls-esbuild-cjs.test.ts
381381
- name: Test - observability mode
382-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/osls-esbuild-cjs.test.ts
382+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/osls-esbuild-cjs.test.ts
383383

384384
test-osls-esbuild-esm:
385385
runs-on: ubuntu-latest
@@ -427,9 +427,9 @@ jobs:
427427
run: npm run deploy
428428
working-directory: test/osls-esbuild-esm
429429
- name: Test
430-
run: npx vitest --retry 1 test/osls-esbuild-esm.test.ts
430+
run: npx vitest --retry 2 test/osls-esbuild-esm.test.ts
431431
- name: Test - observability mode
432-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/osls-esbuild-esm.test.ts
432+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/osls-esbuild-esm.test.ts
433433

434434
test-sam-basic:
435435
runs-on: ubuntu-latest
@@ -480,9 +480,9 @@ jobs:
480480
run: npm run deploy
481481
working-directory: test/sam-basic
482482
- name: Test
483-
run: npx vitest --retry 1 test/sam-basic.test.ts
483+
run: npx vitest --retry 2 test/sam-basic.test.ts
484484
- name: Test - observability mode
485-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/sam-basic.test.ts
485+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/sam-basic.test.ts
486486

487487
test-sam-alt:
488488
runs-on: ubuntu-latest
@@ -533,9 +533,9 @@ jobs:
533533
run: npm run deploy
534534
working-directory: test/sam-alt
535535
- name: Test
536-
run: npx vitest --retry 1 test/sam-alt.test.ts
536+
run: npx vitest --retry 2 test/sam-alt.test.ts
537537
- name: Test - observability mode
538-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/sam-alt.test.ts
538+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/sam-alt.test.ts
539539

540540
test-terraform-basic:
541541
runs-on: ubuntu-latest
@@ -589,9 +589,9 @@ jobs:
589589
run: npm run deploy
590590
working-directory: test/terraform-basic
591591
- name: Test
592-
run: npx vitest --retry 1 test/terraform-basic.test.ts
592+
run: npx vitest --retry 2 test/terraform-basic.test.ts
593593
- name: Test - observability mode
594-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/terraform-basic.test.ts
594+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/terraform-basic.test.ts
595595

596596
test-opentofu-basic:
597597
runs-on: ubuntu-latest
@@ -645,6 +645,6 @@ jobs:
645645
run: npm run deploy
646646
working-directory: test/opentofu-basic
647647
- name: Test
648-
run: npx vitest --retry 1 test/opentofu-basic.test.ts
648+
run: npx vitest --retry 2 test/opentofu-basic.test.ts
649649
- name: Test - observability mode
650-
run: OBSERVABLE_MODE=true npx vitest --retry 1 test/opentofu-basic.test.ts
650+
run: OBSERVABLE_MODE=true npx vitest --retry 2 test/opentofu-basic.test.ts

0 commit comments

Comments
 (0)