Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Core End to End Tests #8

Core End to End Tests

Core End to End Tests #8

Workflow file for this run

name: Core End to End Tests
on:
schedule:
- cron: 10 6 * * *
workflow_dispatch:
inputs:
automationBranch:
description: 'Set the branch to use for automation tests'
required: false
default: 'develop'
type: string
anInitialSuite:
description: 'anInitialSuite.e2e.ts'
required: false
default: true
type: boolean
authentication:
description: 'authentication.e2e.ts'
required: false
default: true
type: boolean
deployAndRetrieve:
description: 'deployAndRetrieve.e2e.ts'
required: false
default: true
type: boolean
manifestBuilder:
description: 'manifestBuilder.e2e.ts'
required: false
default: true
type: boolean
pushAndPull:
description: 'pushAndPull.e2e.ts'
required: false
default: true
type: boolean
sObjectsDefinitions:
description: 'sObjectsDefinitions.e2e.ts'
required: false
default: true
type: boolean
templates:
description: 'templates.e2e.ts'
required: false
default: true
type: boolean
workflow_call:
inputs:
automationBranch:
description: 'Set the branch to use for automation tests'
required: false
default: 'develop'
type: string
anInitialSuite:
description: 'anInitialSuite.e2e.ts'
required: false
default: true
type: boolean
authentication:
description: 'authentication.e2e.ts'
required: false
default: true
type: boolean
deployAndRetrieve:
description: 'deployAndRetrieve.e2e.ts'
required: false
default: true
type: boolean
manifestBuilder:
description: 'manifestBuilder.e2e.ts'
required: false
default: true
type: boolean
pushAndPull:
description: 'pushAndPull.e2e.ts'
required: false
default: true
type: boolean
sObjectsDefinitions:
description: 'sObjectsDefinitions.e2e.ts'
required: false
default: true
type: boolean
templates:
description: 'templates.e2e.ts'
required: false
default: true
type: boolean
jobs:
anInitialSuite:
if: ${{ inputs.anInitialSuite || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'anInitialSuite.e2e.ts'
authentication:
if: ${{ inputs.authentication || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'authentication.e2e.ts'
deployAndRetrieve:
if: ${{ inputs.deployAndRetrieve || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'deployAndRetrieve.e2e.ts'
manifestBuilder:
if: ${{ inputs.manifestBuilder || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'manifestBuilder.e2e.ts'
pushAndPull:
if: ${{ inputs.pushAndPull || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'pushAndPull.e2e.ts'
sObjectsDefinitions:
if: ${{ inputs.sObjectsDefinitions || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'sObjectsDefinitions.e2e.ts'
templates:
if: ${{ inputs.templates || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'templates.e2e.ts'