mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-12 16:10:30 +02:00
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
name: 'Test: E2E Infrastructure'
|
|
|
|
on:
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths:
|
|
- 'packages/testing/playwright/tests/infrastructure/**'
|
|
- 'packages/testing/playwright/utils/benchmark/**'
|
|
- 'packages/testing/playwright/utils/performance-helper.ts'
|
|
- 'packages/testing/playwright/reporters/benchmark-summary-reporter.ts'
|
|
- 'packages/testing/containers/services/**'
|
|
- '.github/workflows/test-e2e-infrastructure-reusable.yml'
|
|
|
|
concurrency:
|
|
group: e2e-infrastructure-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
benchmark:
|
|
name: ${{ matrix.profile }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- profile: benchmark-direct
|
|
runner: blacksmith-4vcpu-ubuntu-2204
|
|
- profile: benchmark-queue
|
|
runner: blacksmith-8vcpu-ubuntu-2204
|
|
- profile: benchmark-queue-tuned
|
|
runner: blacksmith-8vcpu-ubuntu-2204
|
|
uses: ./.github/workflows/test-e2e-reusable.yml
|
|
with:
|
|
test-mode: docker-build
|
|
test-command: pnpm --filter=n8n-playwright test:all --project='${{ matrix.profile }}:infrastructure' --workers=1
|
|
shards: 1
|
|
runner: ${{ matrix.runner }}
|
|
timeout-minutes: 60
|
|
secrets: inherit
|