Core End to End Tests #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Core End to End Tests | |
on: | |
schedule: | |
- cron: 20 * * * * | |
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: ${{ github.event.inputs.anInitialSuite || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'anInitialSuite.e2e.ts' | |
authentication: | |
if: ${{ github.event.inputs.authentication || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'authentication.e2e.ts' | |
deployAndRetrieve: | |
if: ${{ github.event.inputs.deployAndRetrieve || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'deployAndRetrieve.e2e.ts' | |
manifestBuilder: | |
if: ${{ github.event.inputs.manifestBuilder || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'manifestBuilder.e2e.ts' | |
pushAndPull: | |
if: ${{ github.event.inputs.pushAndPull || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'pushAndPull.e2e.ts' | |
sObjectsDefinitions: | |
if: ${{ github.event.inputs.sObjectsDefinitions || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'sObjectsDefinitions.e2e.ts' | |
templates: | |
if: ${{ github.event.inputs.templates || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'templates.e2e.ts' |