mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-05 01:37:30 +00:00
feat(test): Added stress testing to CI
This commit is contained in:
14
.github/workflows/playwright-test-workflow.yml
vendored
14
.github/workflows/playwright-test-workflow.yml
vendored
@@ -98,6 +98,14 @@ jobs:
|
||||
working-directory: ./tests/playwright
|
||||
run: E2E_DB_TYPE=${{ inputs.db }} npm run ci:test:shard:${{ inputs.shard }}
|
||||
|
||||
# Stress test added/modified tests
|
||||
- name: Fetch develop branch
|
||||
working-directory: ./tests/playwright
|
||||
run: git fetch origin develop
|
||||
- name: Stress test
|
||||
working-directory: ./tests/playwright
|
||||
run: E2E_DB_TYPE=${{ inputs.db }} ./scripts/stressTestNewlyAddedTest.js
|
||||
|
||||
# Quick tests (pg on sqlite shard 0 and sqlite on sqlite shard 1)
|
||||
- name: Run quick server and tests (pg)
|
||||
if: ${{ inputs.db == 'sqlite' && inputs.shard == '1' }}
|
||||
@@ -139,6 +147,12 @@ jobs:
|
||||
name: playwright-report-${{ inputs.db }}-${{ inputs.shard }}
|
||||
path: ./tests/playwright/playwright-report/
|
||||
retention-days: 2
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
name: playwright-report-stress-${{ inputs.db }}-${{ inputs.shard }}
|
||||
path: ./tests/playwright/playwright-report-stress/
|
||||
retention-days: 2
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user