File tree 3 files changed +10
-34
lines changed
3 files changed +10
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
branches : [ main ]
5
5
pull_request :
6
6
branches : [ main ]
7
+ concurrency :
8
+ # Support push/pr as event types with different behaviors each:
9
+ # 1. push: queue up builds
10
+ # 2. pr: only allow one run per PR
11
+ group : ${{ github.workflow }}-${{ github.event.type }}${{ github.event.pull_request.number }}
12
+ # If there is already a workflow running for the same pull request, cancel it
13
+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
7
14
jobs :
8
15
test :
9
16
timeout-minutes : 10
Original file line number Diff line number Diff line change @@ -17,19 +17,17 @@ export default defineConfig({
17
17
/* Fail the build on CI if you accidentally left test.only in the source code. */
18
18
forbidOnly : ! ! process . env . CI ,
19
19
/* Retry on CI only */
20
- retries : process . env . CI ? 2 : 0 ,
21
- /* Opt out of parallel tests on CI . */
22
- workers : process . env . CI ? 1 : undefined ,
20
+ retries : 0 ,
21
+ /* Parallel tests currently blocked . */
22
+ workers : 1 ,
23
23
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
24
24
reporter : 'html' ,
25
25
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
26
26
use : {
27
27
/* Base URL to use in actions like `await page.goto('/')`. */
28
28
baseURL,
29
-
30
29
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
31
30
trace : 'on-first-retry' ,
32
-
33
31
screenshot : 'only-on-failure' ,
34
32
video : 'retain-on-failure'
35
33
} ,
You can’t perform that action at this time.
0 commit comments