mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-12 16:10:30 +02:00
ci: Add artifact prefix to e2e runs to prevent clashing (#30281)
This commit is contained in:
parent
8b0a3ae3d3
commit
cb019eb253
2
.github/workflows/ci-pull-requests.yml
vendored
2
.github/workflows/ci-pull-requests.yml
vendored
|
|
@ -211,6 +211,7 @@ jobs:
|
|||
test-mode: docker-artifact
|
||||
test-command: pnpm --filter=n8n-playwright test:container:sqlite:e2e tests/e2e/building-blocks/workflow-entry-points.spec.ts
|
||||
workers: '1'
|
||||
artifact-prefix: sanity
|
||||
secrets: inherit
|
||||
|
||||
# Full e2e run. Internal PRs run multi-main (postgres + redis + caddy + 2 mains + 1 worker).
|
||||
|
|
@ -230,6 +231,7 @@ jobs:
|
|||
test-command: ${{ github.event.pull_request.head.repo.fork == true && 'pnpm --filter=n8n-playwright test:container:sqlite:e2e --grep-invert=@licensed' || 'pnpm --filter=n8n-playwright test:container:multi-main:e2e' }}
|
||||
workers: '1'
|
||||
pre-generated-matrix: ${{ needs.install-and-build.outputs.matrix }}
|
||||
artifact-prefix: e2e
|
||||
secrets: inherit
|
||||
|
||||
# Boots the editor-ui against the Vite dev server and fails on any console
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ jobs:
|
|||
runner: blacksmith-4vcpu-ubuntu-2204
|
||||
timeout-minutes: 45
|
||||
pre-generated-matrix: '[{"shard":1,"images":""},{"shard":2,"images":""},{"shard":3,"images":""},{"shard":4,"images":""}]'
|
||||
artifact-prefix: coverage
|
||||
secrets: inherit
|
||||
|
||||
aggregate:
|
||||
|
|
@ -42,7 +43,7 @@ jobs:
|
|||
- name: Download shard artifacts
|
||||
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||
with:
|
||||
pattern: e2e-shard-*
|
||||
pattern: coverage-shard-*
|
||||
path: /tmp/shards/
|
||||
|
||||
- name: Collect coverage JSON
|
||||
|
|
|
|||
|
|
@ -38,4 +38,5 @@ jobs:
|
|||
workers: '1'
|
||||
runner: ${{ matrix.runner }}
|
||||
timeout-minutes: 120
|
||||
artifact-prefix: benchmark
|
||||
secrets: inherit
|
||||
|
|
|
|||
|
|
@ -19,4 +19,5 @@ jobs:
|
|||
test-mode: docker-artifact
|
||||
test-command: pnpm --filter=n8n-playwright test:performance
|
||||
currents-project-id: 'O9BJaN'
|
||||
artifact-prefix: performance
|
||||
secrets: inherit
|
||||
|
|
|
|||
7
.github/workflows/test-e2e-reusable.yml
vendored
7
.github/workflows/test-e2e-reusable.yml
vendored
|
|
@ -47,6 +47,11 @@ on:
|
|||
required: false
|
||||
default: ''
|
||||
type: string
|
||||
artifact-prefix:
|
||||
description: 'Prefix for uploaded shard artifacts'
|
||||
required: false
|
||||
default: 'e2e'
|
||||
type: string
|
||||
|
||||
env:
|
||||
NODE_OPTIONS: ${{ contains(inputs.runner, '2vcpu') && '--max-old-space-size=6144' || '' }}
|
||||
|
|
@ -120,7 +125,7 @@ jobs:
|
|||
if: always()
|
||||
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
||||
with:
|
||||
name: e2e-shard-${{ matrix.shard }}
|
||||
name: ${{ inputs.artifact-prefix }}-shard-${{ matrix.shard }}
|
||||
path: |
|
||||
packages/testing/playwright/test-results/
|
||||
packages/testing/playwright/playwright-report/
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ jobs:
|
|||
workers: '1'
|
||||
pre-generated-matrix: '[{"shard":1},{"shard":2},{"shard":3},{"shard":4},{"shard":5},{"shard":6},{"shard":7},{"shard":8},{"shard":9},{"shard":10},{"shard":11},{"shard":12},{"shard":13},{"shard":14},{"shard":15},{"shard":16}]'
|
||||
n8n-env: '{"N8N_EXPRESSION_ENGINE":"vm"}'
|
||||
artifact-prefix: vm-expressions
|
||||
secrets: inherit
|
||||
|
||||
notify-on-failure:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user