Browse Source

fix: Reduced pw worker to test sqlite test stability

pull/6524/head
Muhammed Mustafa 1 year ago
parent
commit
e2dbd795f0
  1. 112
      .github/workflows/ci-cd.yml

112
.github/workflows/ci-cd.yml

@ -103,34 +103,34 @@ jobs:
pre-build-for-playwright: pre-build-for-playwright:
uses: ./.github/workflows/pre-build-for-playwright.yml uses: ./.github/workflows/pre-build-for-playwright.yml
# playwright-mysql-1: playwright-mysql-1:
# needs: pre-build-for-playwright needs: pre-build-for-playwright
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} 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 uses: ./.github/workflows/playwright-test-workflow.yml
# with: with:
# db: mysql db: sqlite
# shard: 1 shard: 1
# playwright-mysql-2: playwright-mysql-2:
# needs: pre-build-for-playwright needs: pre-build-for-playwright
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} 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 uses: ./.github/workflows/playwright-test-workflow.yml
# with: with:
# db: mysql db: sqlite
# shard: 2 shard: 2
# playwright-mysql-3: playwright-mysql-3:
# needs: pre-build-for-playwright needs: pre-build-for-playwright
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} 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 uses: ./.github/workflows/playwright-test-workflow.yml
# with: with:
# db: mysql db: sqlite
# shard: 3 shard: 3
# playwright-mysql-4: playwright-mysql-4:
# needs: pre-build-for-playwright needs: pre-build-for-playwright
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} 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 uses: ./.github/workflows/playwright-test-workflow.yml
# with: with:
# db: mysql db: sqlite
# shard: 4 shard: 4
playwright-sqlite-1: playwright-sqlite-1:
needs: pre-build-for-playwright needs: pre-build-for-playwright
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
@ -159,31 +159,31 @@ jobs:
with: with:
db: sqlite db: sqlite
shard: 4 shard: 4
# playwright-pg-shard-1: playwright-pg-shard-1:
# needs: pre-build-for-playwright needs: pre-build-for-playwright
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} 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 uses: ./.github/workflows/playwright-test-workflow.yml
# with: with:
# db: pg db: sqlite
# shard: 1 shard: 1
# playwright-pg-shard-2: playwright-pg-shard-2:
# needs: pre-build-for-playwright needs: pre-build-for-playwright
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} 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 uses: ./.github/workflows/playwright-test-workflow.yml
# with: with:
# db: pg db: sqlite
# shard: 2 shard: 2
# playwright-pg-shard-3: playwright-pg-shard-3:
# needs: pre-build-for-playwright needs: pre-build-for-playwright
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} 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 uses: ./.github/workflows/playwright-test-workflow.yml
# with: with:
# db: pg db: sqlite
# shard: 3 shard: 3
# playwright-pg-shard-4: playwright-pg-shard-4:
# needs: pre-build-for-playwright needs: pre-build-for-playwright
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} 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 uses: ./.github/workflows/playwright-test-workflow.yml
# with: with:
# db: pg db: sqlite
# shard: 4 shard: 4
Loading…
Cancel
Save