Apex End to End Tests #14
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: Apex 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 | |
apexLsp: | |
description: 'apexLsp.e2e.ts' | |
required: false | |
default: true | |
type: boolean | |
apexReplayDebugger: | |
description: 'apexReplayDebugger.e2e.ts' | |
required: false | |
default: true | |
type: boolean | |
debugApexTests: | |
description: 'debugApexTests.e2e.ts' | |
required: false | |
default: true | |
type: boolean | |
runApexTests: | |
description: 'runApexTests.e2e.ts' | |
required: false | |
default: true | |
type: boolean | |
trailApexReplayDebugger: | |
description: 'trailApexReplayDebugger.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 | |
apexLsp: | |
description: 'apexLsp.e2e.ts' | |
required: false | |
default: true | |
type: boolean | |
apexReplayDebugger: | |
description: 'apexReplayDebugger.e2e.ts' | |
required: false | |
default: true | |
type: boolean | |
debugApexTests: | |
description: 'debugApexTests.e2e.ts' | |
required: false | |
default: true | |
type: boolean | |
runApexTests: | |
description: 'runApexTests.e2e.ts' | |
required: false | |
default: true | |
type: boolean | |
trailApexReplayDebugger: | |
description: 'trailApexReplayDebugger.e2e.ts' | |
required: false | |
default: true | |
type: boolean | |
jobs: | |
apexLSP: | |
if: ${{ github.event.inputs.apexLsp || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'apexLsp.e2e.ts' | |
apexReplayDebugger: | |
if: ${{ github.event.inputs.apexReplayDebugger || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'apexReplayDebugger.e2e.ts' | |
debugApexTests: | |
if: ${{ github.event.inputs.debugApexTests || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'debugApexTests.e2e.ts' | |
runApexTests: | |
if: ${{ github.event.inputs.runApexTests || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'runApexTests.e2e.ts' | |
trailApexReplayDebugger: | |
if: ${{ github.event.inputs.trailApexReplayDebugger || github.event_name == 'schedule' }} | |
uses: ./.github/workflows/runE2ETest.yml | |
secrets: inherit | |
with: | |
automationBranch: ${{ github.event.inputs.automationBranch }} | |
testToRun: 'trailApexReplayDebugger.e2e.ts' |