From 3a6ae47d10793ac72c9273771c82617cd3b620ba Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 16 Aug 2022 23:18:43 +0800 Subject: [PATCH] ci: vitest auto retry on flaky segfault (#9707) --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 973b78df00591d..db621689ef2639 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,8 @@ env: NODE_OPTIONS: --max-old-space-size=6144 # install playwright binary manually (because pnpm only runs install script once) PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1" + # Vitest auto retry on flaky segfault + VITEST_SEGFAULT_RETRY: 3 on: push: