File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ jobs:
130
130
131
131
integration-tests :
132
132
name : Integration Tests
133
- needs : formatting-linting
133
+ # needs: formatting-linting
134
134
runs-on : ${{ vars.RUNNER_LARGE || 'ubuntu-latest-l' }}
135
135
timeout-minutes : ${{ vars.TIMEOUT_MINUTES_LONG && fromJSON(vars.TIMEOUT_MINUTES_LONG) || 15 }}
136
136
@@ -191,11 +191,11 @@ jobs:
191
191
if : ${{ steps.task-status.outputs.affected == '1' }}
192
192
working-directory : ${{runner.temp}}
193
193
run : mkdir clerk-js && cd clerk-js && npm init -y && npm install @clerk/clerk-js
194
-
194
+
195
195
- name : Copy components @clerk/astro
196
196
if : ${{ matrix.test-name == 'astro' }}
197
197
run : cd packages/astro && npm run copy:components
198
-
198
+
199
199
- name : Write all ENV certificates to files in integration/certs
200
200
if : ${{ steps.task-status.outputs.affected == '1' }}
201
201
uses : actions/github-script@v7
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ import * as path from 'path';
8
8
9
9
config ( { path : path . resolve ( __dirname , '.env.local' ) } ) ;
10
10
11
- const numAvailableWorkers = os . cpus ( ) . length - 1 ;
11
+ const numAvailableWorkers = Math . floor ( os . cpus ( ) . length / 2 ) + 1 ;
12
+ console . log ( `Running tests using ${ numAvailableWorkers } workers` ) ;
12
13
13
14
export const common : PlaywrightTestConfig = {
14
15
testDir : './tests' ,
@@ -18,7 +19,7 @@ export const common: PlaywrightTestConfig = {
18
19
retries : process . env . CI ? 2 : 0 ,
19
20
timeout : 90000 ,
20
21
maxFailures : process . env . CI ? 1 : undefined ,
21
- workers : process . env . CI ? numAvailableWorkers : '50 %' ,
22
+ workers : process . env . CI ? numAvailableWorkers : '70 %' ,
22
23
reporter : process . env . CI ? 'line' : 'list' ,
23
24
use : {
24
25
ignoreHTTPSErrors : true ,
You can’t perform that action at this time.
0 commit comments