test: delete one test b/c max input is 10 #283
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: | ||
workflow_dispatch: | ||
inputs: | ||
automationBranch: | ||
description: 'Set the branch to use for automation tests' | ||
required: false | ||
default: 'testesm' | ||
type: string | ||
anInitialSuite: | ||
description: 'Verify Extensions' | ||
required: false | ||
default: true | ||
type: boolean | ||
authentication: | ||
description: 'Authentication' | ||
required: false | ||
default: true | ||
type: boolean | ||
miscellaneous: | ||
description: 'Miscellaneous Commands' | ||
required: false | ||
default: true | ||
type: boolean | ||
sObjectsDefinitions: | ||
description: 'sObjects Definitions' | ||
required: false | ||
default: true | ||
type: boolean | ||
templates: | ||
description: 'Create Commands' | ||
required: false | ||
default: true | ||
type: boolean | ||
exampleUsingProject: | ||
description: 'an example test to use an existing project' | ||
required: false | ||
default: true | ||
type: boolean | ||
exampleUsingProjectFromYaml: | ||
description: 'an example using a project from yaml' | ||
required: false | ||
default: true | ||
type: boolean | ||
vscodeVersion: | ||
description: 'VSCode Version' | ||
required: false | ||
default: 'stable' | ||
type: string | ||
runId: | ||
description: 'Run ID of the workflow run that created the vsixes' | ||
required: true | ||
type: string | ||
githubRepoUrl: | ||
description: 'the github repo url used for running the example test' | ||
required: false | ||
type: string | ||
workflow_call: | ||
inputs: | ||
automationBranch: | ||
description: 'Set the branch to use for automation tests' | ||
required: false | ||
default: 'testesm' | ||
type: string | ||
anInitialSuite: | ||
description: 'Verify Extensions' | ||
required: false | ||
default: true | ||
type: boolean | ||
authentication: | ||
description: 'Authentication' | ||
required: false | ||
default: true | ||
type: boolean | ||
miscellaneous: | ||
description: 'Miscellaneous Commands' | ||
required: false | ||
default: true | ||
type: boolean | ||
sObjectsDefinitions: | ||
description: 'sObjects Definitions' | ||
required: false | ||
default: true | ||
type: boolean | ||
templates: | ||
description: 'Create Commands' | ||
required: false | ||
default: true | ||
type: boolean | ||
exampleUsingProject: | ||
description: 'an example test to use an existing project' | ||
required: false | ||
default: true | ||
type: boolean | ||
exampleUsingProjectFromYaml: | ||
description: 'an example using a project from yaml' | ||
required: false | ||
default: true | ||
type: boolean | ||
vscodeVersion: | ||
description: 'VSCode Version' | ||
required: false | ||
default: 'stable' | ||
type: string | ||
runId: | ||
description: 'Run ID of the workflow run that created the vsixes' | ||
required: false | ||
type: string | ||
jobs: | ||
anInitialSuite: | ||
if: ${{ inputs.anInitialSuite }} | ||
uses: ./.github/workflows/runE2ETest.yml | ||
secrets: inherit | ||
with: | ||
automationBranch: ${{ inputs.automationBranch }} | ||
testToRun: 'anInitialSuite.e2e.ts' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
runId: ${{ inputs.runId }} | ||
authentication: | ||
if: ${{ inputs.authentication }} | ||
uses: ./.github/workflows/runE2ETest.yml | ||
secrets: inherit | ||
with: | ||
automationBranch: ${{ inputs.automationBranch }} | ||
testToRun: 'authentication.e2e.ts' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
runId: ${{ inputs.runId }} | ||
miscellaneous: | ||
if: ${{ inputs.miscellaneous }} | ||
uses: ./.github/workflows/runE2ETest.yml | ||
secrets: inherit | ||
with: | ||
automationBranch: ${{ inputs.automationBranch }} | ||
testToRun: 'miscellaneous.e2e.ts' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
runId: ${{ inputs.runId }} | ||
sObjectsDefinitions: | ||
if: ${{ inputs.sObjectsDefinitions }} | ||
uses: ./.github/workflows/runE2ETest.yml | ||
secrets: inherit | ||
with: | ||
automationBranch: ${{ inputs.automationBranch }} | ||
testToRun: 'sObjectsDefinitions.e2e.ts' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
runId: ${{ inputs.runId }} | ||
templates: | ||
if: ${{ inputs.templates }} | ||
uses: ./.github/workflows/runE2ETest.yml | ||
secrets: inherit | ||
with: | ||
automationBranch: ${{ inputs.automationBranch }} | ||
testToRun: 'templates.e2e.ts' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
runId: ${{ inputs.runId }} | ||
exampleUsingProject: | ||
if: ${{ inputs.exampleUsingProject }} | ||
uses: ./.github/workflows/runE2ETest.yml | ||
secrets: inherit | ||
with: | ||
automationBranch: ${{ inputs.automationBranch }} | ||
testToRun: 'exampleUsingProject.e2e.ts' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
runId: ${{ inputs.runId }} | ||
exampleUsingProjectFromYaml: | ||
if: ${{ inputs.exampleUsingProjectFromYaml }} | ||
uses: ./.github/workflows/runE2ETest.yml | ||
secrets: inherit | ||
with: | ||
automationBranch: ${{ inputs.automationBranch }} | ||
testToRun: 'exampleUsingProjectFromYaml.e2e.ts' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
runId: ${{ inputs.runId }} | ||
githubRepoUrl: ${{ inputs.githubRepoUrl }} | ||
slack_success_notification: | ||
if: ${{ success() }} | ||
needs: | ||
[ | ||
anInitialSuite, | ||
authentication, | ||
miscellaneous, | ||
sObjectsDefinitions, | ||
templates | ||
] | ||
uses: ./.github/workflows/slackNotification.yml | ||
secrets: inherit | ||
with: | ||
title: 'Core E2E Tests' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
testsBranch: ${{ inputs.automationBranch }} | ||
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Miscellaneous: ${{ needs.miscellaneous.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}' | ||
result: 'All the tests passed.' | ||
workflow: 'actions/runs/${{ github.run_id }}' | ||
type: 'e2e' | ||
slack_failure_notification: | ||
if: ${{ failure()}} | ||
needs: | ||
[ | ||
anInitialSuite, | ||
authentication, | ||
miscellaneous, | ||
sObjectsDefinitions, | ||
templates | ||
] | ||
uses: ./.github/workflows/slackNotification.yml | ||
secrets: inherit | ||
with: | ||
title: 'Core E2E Tests' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
testsBranch: ${{ inputs.automationBranch }} | ||
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Miscellaneous: ${{ needs.miscellaneous.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}' | ||
result: 'Not all the tests passed.' | ||
workflow: 'actions/runs/${{ github.run_id }}' | ||
type: 'e2e' | ||
slack_cancelled_notification: | ||
if: ${{ cancelled() }} | ||
needs: | ||
[ | ||
anInitialSuite, | ||
authentication, | ||
miscellaneous, | ||
sObjectsDefinitions, | ||
templates | ||
] | ||
uses: ./.github/workflows/slackNotification.yml | ||
secrets: inherit | ||
with: | ||
title: 'Core E2E Tests' | ||
vscodeVersion: ${{ inputs.vscodeVersion }} | ||
testsBranch: ${{ inputs.automationBranch }} | ||
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Miscellaneous: ${{ needs.miscellaneous.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}' | ||
result: 'The workflow was cancelled.' | ||
workflow: 'actions/runs/${{ github.run_id }}' | ||
type: 'e2e' |