Skip to content

Commit

Permalink
(debug) debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Jan 11, 2024
1 parent ee1f202 commit d133944
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/shared-test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,6 @@ jobs:
run: npx playwright install --with-deps ${{ matrix.browser }}

- name: 👀 Run Integration Tests ${{ matrix.browser }}
run: "yarn test:integration --project=${{ matrix.browser }}"
run: yarn test:integration --project=${{ matrix.browser }} --workers=1 integration/vite-hmr-hdr-test.ts -g dev
env:
REPEAT_EACH: 20
2 changes: 2 additions & 0 deletions integration/helpers/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ function node(args: string[], options: { cwd: string }) {
env: process.env,
stdio: "pipe",
});
proc.stdout?.on("data", data => process.stdout.write(data))
proc.stderr?.on("data", data => process.stderr.write(data))
return proc;
}

Expand Down
1 change: 1 addition & 0 deletions integration/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config: PlaywrightTestConfig = {
},
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 3 : 0,
repeatEach: process.env.REPEAT_EACH ? Number(process.env.REPEAT_EACH) : undefined,
reporter: process.env.CI ? "dot" : [["html", { open: "never" }]],
use: { actionTimeout: 0 },

Expand Down

0 comments on commit d133944

Please sign in to comment.