64b06ca801
* test: modify existing workflows to make them run specific tests on separate runners * chore: increase token-e2e job timeout
75 lines
2.3 KiB
YAML
75 lines
2.3 KiB
YAML
on:
|
|
workflow_call:
|
|
inputs:
|
|
project:
|
|
required: true
|
|
type: string
|
|
vega-version:
|
|
required: true
|
|
type: string
|
|
gobin:
|
|
required: false
|
|
type: string
|
|
default: /home/runner/go/bin
|
|
skip-cache:
|
|
required: false
|
|
type: string
|
|
tags:
|
|
required: false
|
|
type: string
|
|
night-run:
|
|
required: false
|
|
type: boolean
|
|
|
|
jobs:
|
|
run-console-lite-e2e:
|
|
if: ${{ contains(inputs.project, 'console-lite-e2e') || contains(inputs.project, 'console-lite') }}
|
|
uses: ./.github/workflows/cypress-console-lite-e2e.yml
|
|
secrets: inherit
|
|
with:
|
|
vega-version: ${{ inputs.vega-version }}
|
|
gobin: ${{ inputs.gobin }}
|
|
skip-cache: ${{ inputs.skip-cache }}
|
|
tags: ${{ inputs.tags }}
|
|
|
|
run-explorer-e2e:
|
|
if: ${{ contains(inputs.project, 'explorer-e2e') || contains(inputs.project, 'explorer') }}
|
|
uses: ./.github/workflows/cypress-explorer-e2e.yml
|
|
secrets: inherit
|
|
with:
|
|
vega-version: ${{ inputs.vega-version }}
|
|
gobin: ${{ inputs.gobin }}
|
|
skip-cache: ${{ inputs.skip-cache }}
|
|
tags: ${{ inputs.tags }}
|
|
night-run: ${{ inputs.night-run }}
|
|
|
|
run-liquidity-e2e:
|
|
if: ${{ contains(inputs.project, 'liquidity-provision-dashboard-e2e') || contains(inputs.project, 'liquidity-provision-dashboard') }}
|
|
uses: ./.github/workflows/cypress-liquidity-provision-dashboard-e2e.yml
|
|
secrets: inherit
|
|
|
|
run-stats-e2e:
|
|
if: ${{ contains(inputs.project, 'stats-e2e') || contains(inputs.project, 'stats') }}
|
|
uses: ./.github/workflows/cypress-stats-e2e.yml
|
|
secrets: inherit
|
|
|
|
run-token-e2e:
|
|
if: ${{ contains(inputs.project, 'token-e2e') || contains(inputs.project, 'token') }}
|
|
uses: ./.github/workflows/cypress-token-e2e.yml
|
|
secrets: inherit
|
|
with:
|
|
vega-version: ${{ inputs.vega-version }}
|
|
gobin: ${{ inputs.gobin }}
|
|
skip-cache: ${{ inputs.skip-cache }}
|
|
tags: ${{ inputs.tags }}
|
|
|
|
run-trading-e2e:
|
|
if: ${{ contains(inputs.project, 'trading-e2e') || contains(inputs.project, 'trading') }}
|
|
uses: ./.github/workflows/cypress-trading-e2e.yml
|
|
secrets: inherit
|
|
with:
|
|
vega-version: ${{ inputs.vega-version }}
|
|
gobin: ${{ inputs.gobin }}
|
|
skip-cache: ${{ inputs.skip-cache }}
|
|
tags: ${{ inputs.tags }}
|