mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-28 10:27:02 +00:00
fix: Increased worker count and increased test action timeout to test stability
This commit is contained in:
16
.github/workflows/ci-cd.yml
vendored
16
.github/workflows/ci-cd.yml
vendored
@@ -110,7 +110,6 @@ jobs:
|
||||
with:
|
||||
db: mysql
|
||||
shard: 1
|
||||
workers: 4
|
||||
playwright-mysql-2:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
@@ -118,7 +117,6 @@ jobs:
|
||||
with:
|
||||
db: mysql
|
||||
shard: 2
|
||||
workers: 4
|
||||
playwright-mysql-3:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
@@ -126,7 +124,6 @@ jobs:
|
||||
with:
|
||||
db: mysql
|
||||
shard: 3
|
||||
workers: 4
|
||||
playwright-mysql-4:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
@@ -134,7 +131,6 @@ jobs:
|
||||
with:
|
||||
db: mysql
|
||||
shard: 4
|
||||
workers: 4
|
||||
playwright-sqlite-1:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
@@ -142,7 +138,6 @@ jobs:
|
||||
with:
|
||||
db: sqlite
|
||||
shard: 1
|
||||
workers: 1
|
||||
playwright-sqlite-2:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
@@ -150,7 +145,6 @@ jobs:
|
||||
with:
|
||||
db: sqlite
|
||||
shard: 2
|
||||
workers: 1
|
||||
playwright-sqlite-3:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
@@ -158,15 +152,13 @@ jobs:
|
||||
with:
|
||||
db: sqlite
|
||||
shard: 3
|
||||
workers: 1
|
||||
playwright-sqlite-4:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
uses: ./.github/workflows/playwright-test-workflow.yml
|
||||
with:
|
||||
db: sqlite
|
||||
shard: 4
|
||||
workers: 1
|
||||
shard: 4
|
||||
playwright-pg-shard-1:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
@@ -174,7 +166,6 @@ jobs:
|
||||
with:
|
||||
db: pg
|
||||
shard: 1
|
||||
workers: 4
|
||||
playwright-pg-shard-2:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
@@ -182,7 +173,6 @@ jobs:
|
||||
with:
|
||||
db: pg
|
||||
shard: 2
|
||||
workers: 4
|
||||
playwright-pg-shard-3:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
@@ -190,12 +180,10 @@ jobs:
|
||||
with:
|
||||
db: pg
|
||||
shard: 3
|
||||
workers: 4
|
||||
playwright-pg-shard-4:
|
||||
needs: pre-build-for-playwright
|
||||
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
|
||||
uses: ./.github/workflows/playwright-test-workflow.yml
|
||||
with:
|
||||
db: pg
|
||||
shard: 4
|
||||
workers: 4
|
||||
shard: 4
|
||||
@@ -10,9 +10,6 @@ on:
|
||||
db:
|
||||
required: true
|
||||
type: string
|
||||
workers:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
playwright:
|
||||
@@ -147,7 +144,7 @@ jobs:
|
||||
timeout-minutes: 2
|
||||
- name: Run Playwright Tests
|
||||
working-directory: ./tests/playwright
|
||||
run: E2E_DB_TYPE=${{ inputs.db }} npm run ci:test:shard:${{ inputs.shard }} --workers=${{ inputs.workers }}
|
||||
run: E2E_DB_TYPE=${{ inputs.db }} npm run ci:test:shard:${{ inputs.shard }}
|
||||
timeout-minutes: 60
|
||||
# Stress test added/modified tests
|
||||
- name: Fetch develop branch
|
||||
|
||||
Reference in New Issue
Block a user