mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-01 17:27:14 +02:00
43 lines
1.3 KiB
YAML
43 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:
|
|
prepare-docker:
|
|
uses: ./.github/workflows/prepare-docker-reusable.yml
|
|
secrets: inherit
|
|
|
|
benchmark:
|
|
needs: [prepare-docker]
|
|
name: benchmarking
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- runner: blacksmith-8vcpu-ubuntu-2204
|
|
uses: ./.github/workflows/test-e2e-reusable.yml
|
|
with:
|
|
test-mode: docker-artifact
|
|
# Runs the full benchmark suite. Each spec brings its own container via
|
|
# `test.use({ capability })`, so workers must be 1 (one container at a time).
|
|
test-command: 'pnpm --filter=n8n-playwright test:benchmark'
|
|
workers: '1'
|
|
runner: ${{ matrix.runner }}
|
|
timeout-minutes: 120
|
|
artifact-prefix: benchmark
|
|
secrets: inherit
|