mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
name: Run Playwright Tests (Docker Pull)
|
|
# This workflow is used to run Playwright tests in a Docker container pulled from the registry
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
shards:
|
|
description: 'Shards for parallel execution'
|
|
required: false
|
|
default: '[1]'
|
|
type: string
|
|
image:
|
|
description: 'Image to use'
|
|
required: false
|
|
default: 'n8nio/n8n:nightly'
|
|
type: string
|
|
workflow_dispatch:
|
|
inputs:
|
|
shards:
|
|
description: 'Shards for parallel execution'
|
|
required: false
|
|
default: '[1]'
|
|
type: string
|
|
image:
|
|
description: 'Image to use'
|
|
required: false
|
|
default: 'n8nio/n8n:nightly'
|
|
type: string
|
|
|
|
jobs:
|
|
build-and-test:
|
|
uses: ./.github/workflows/playwright-test-reusable.yml
|
|
with:
|
|
test-mode: docker-pull
|
|
shards: ${{ inputs.shards }}
|
|
docker-image: ${{ inputs.image }}
|
|
test-command: pnpm --filter=n8n-playwright test:container:standard
|
|
secrets: inherit
|