ci: raise Playwright file descriptor limit

This commit is contained in:
Jeppe Bundgaard
2026-06-08 18:46:56 +02:00
parent d4b69c3990
commit 1a11e31836
+12 -4
View File
@@ -107,7 +107,9 @@ jobs:
run: npx playwright install --with-deps chromium run: npx playwright install --with-deps chromium
- name: Run Playwright PR tests - name: Run Playwright PR tests
run: npm run test:e2e:pr -- --base="${{ steps.playwright-diff.outputs.base }}" --head="${{ steps.playwright-diff.outputs.head }}" run: |
ulimit -n 16384 || true
npm run test:e2e:pr -- --base="${{ steps.playwright-diff.outputs.base }}" --head="${{ steps.playwright-diff.outputs.head }}"
- name: Upload Playwright report - name: Upload Playwright report
if: failure() if: failure()
@@ -120,8 +122,12 @@ jobs:
retention-days: 3 retention-days: 3
e2e-full: e2e-full:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.ref_name == github.event.repository.default_branch if: >
needs: build-and-unit always() &&
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.ref_name == github.event.repository.default_branch) &&
needs.build-and-unit.result == 'success' &&
(github.event_name == 'schedule' || needs.e2e-pr.result == 'success')
needs: [build-and-unit, e2e-pr]
name: E2E-full-${{ matrix.role }}-${{ matrix.browser_label }}-${{ matrix.device }} name: E2E-full-${{ matrix.role }}-${{ matrix.browser_label }}-${{ matrix.device }}
runs-on: [self-hosted, Linux, X64, default] runs-on: [self-hosted, Linux, X64, default]
strategy: strategy:
@@ -160,7 +166,9 @@ jobs:
run: npx playwright install --with-deps ${{ matrix.browser_install }} run: npx playwright install --with-deps ${{ matrix.browser_install }}
- name: Run full Playwright slice - name: Run full Playwright slice
run: npm run test:e2e:full:slice -- --role="${{ matrix.role }}" --project="${{ matrix.browser }}-${{ matrix.device }}" run: |
ulimit -n 16384 || true
npm run test:e2e:full:slice -- --role="${{ matrix.role }}" --project="${{ matrix.browser }}-${{ matrix.device }}"
- name: Upload Playwright report - name: Upload Playwright report
if: failure() if: failure()