Update CI settings for e2e tests
Adjusted the parallel test limit on CI from 1 to 2 in playwright configuration and updated the test script to stop after the first failure. These changes will allow CI to run tests more efficiently and stop running further tests when a failure is encountered.
This commit is contained in:
6
.github/workflows/workflow.yml
vendored
6
.github/workflows/workflow.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
branches: [ main ]
|
||||
jobs:
|
||||
typescript:
|
||||
timeout-minutes: 10
|
||||
timeout-minutes: 8
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
run: pnpm run lint
|
||||
|
||||
test:
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 8
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -96,4 +96,4 @@ jobs:
|
||||
with:
|
||||
name: playwright-report
|
||||
path: playwright-report/
|
||||
retention-days: 7
|
||||
retention-days: 7
|
||||
Reference in New Issue
Block a user