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

Commit

Permalink
chore: add note in Base Suite workflow that OS input must be a valid …
Browse files Browse the repository at this point in the history
…JSON array
  • Loading branch information
daphne-sfdc committed Feb 14, 2024
1 parent e4b3e43 commit edf3651
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/baseSuiteE2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,103 +11,103 @@ on:
workflow_dispatch:
inputs:
automationBranch:
description: "Set the branch to use for automation tests"
description: 'Set the branch to use for automation tests'
required: false
default: "develop"
default: 'develop'
type: string
anInitialSuite:
description: "Verify Extensions"
description: 'Verify Extensions'
required: false
default: true
type: boolean
authentication:
description: "Authentication"
description: 'Authentication'
required: false
default: true
type: boolean
templates:
description: "Create Commands"
description: 'Create Commands'
required: false
default: true
type: boolean
deployAndRetrieve:
description: "Deploy and Retrieve"
description: 'Deploy and Retrieve'
required: false
default: true
type: boolean
apexLsp:
description: "Apex LSP"
description: 'Apex LSP'
required: false
default: true
type: boolean
runApexTests:
description: "Run Apex Tests"
description: 'Run Apex Tests'
required: false
default: true
type: boolean
vscodeVersion:
description: "VSCode Version"
description: 'VSCode Version'
required: false
default: "1.82.3"
default: '1.82.3'
type: string
runId:
description: "Run ID of the workflow run that created the vsixes"
description: 'Run ID of the workflow run that created the vsixes'
required: true
type: string
os:
description: "Operating System(s) to run the E2E tests on"
description: 'Operating System(s) to run the E2E tests on. Input must be a valid JSON array.'
required: false
default: '["ubuntu-latest"]'
type: string

workflow_call:
inputs:
automationBranch:
description: "Set the branch to use for automation tests"
description: 'Set the branch to use for automation tests'
required: false
default: "develop"
default: 'develop'
type: string
anInitialSuite:
description: "Verify Extensions"
description: 'Verify Extensions'
required: false
default: true
type: boolean
authentication:
description: "Authentication"
description: 'Authentication'
required: false
default: true
type: boolean
templates:
description: "Create Commands"
description: 'Create Commands'
required: false
default: true
type: boolean
deployAndRetrieve:
description: "Deploy and Retrieve"
description: 'Deploy and Retrieve'
required: false
default: true
type: boolean
apexLsp:
description: "Apex LSP"
description: 'Apex LSP'
required: false
default: true
type: boolean
runApexTests:
description: "Run Apex Tests"
description: 'Run Apex Tests'
required: false
default: true
type: boolean
vscodeVersion:
description: "VSCode Version"
description: 'VSCode Version'
required: false
default: "1.82.3"
default: '1.82.3'
type: string
runId:
description: "Run ID of the workflow run that created the vsixes"
description: 'Run ID of the workflow run that created the vsixes'
required: true
type: string
os:
description: "Operating System(s) to run the E2E tests on"
description: 'Operating System(s) to run the E2E tests on. Input must be a valid JSON array.'
required: false
default: '["ubuntu-latest"]'
type: string
Expand All @@ -119,7 +119,7 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch || github.event_name == 'workflow_run' }}
testToRun: "anInitialSuite.e2e.ts"
testToRun: 'anInitialSuite.e2e.ts'
vscodeVersion: ${{ inputs.vscodeVersion || '1.82.3' }}
runId: ${{ inputs.runId }}
os: ${{ inputs.os || '["ubuntu-latest"]' }}
Expand All @@ -130,7 +130,7 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: "authentication.e2e.ts"
testToRun: 'authentication.e2e.ts'
vscodeVersion: ${{ inputs.vscodeVersion || '1.82.3' }}
runId: ${{ inputs.runId }}
os: ${{ inputs.os || '["ubuntu-latest"]' }}
Expand All @@ -141,7 +141,7 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: "templates.e2e.ts"
testToRun: 'templates.e2e.ts'
vscodeVersion: ${{ inputs.vscodeVersion || '1.82.3' }}
runId: ${{ inputs.runId }}
os: ${{ inputs.os || '["ubuntu-latest"]' }}
Expand All @@ -152,7 +152,7 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: "deployAndRetrieve.e2e.ts"
testToRun: 'deployAndRetrieve.e2e.ts'
vscodeVersion: ${{ inputs.vscodeVersion || '1.82.3' }}
runId: ${{ inputs.runId }}
os: ${{ inputs.os || '["ubuntu-latest"]' }}
Expand All @@ -163,7 +163,7 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: "apexLsp.e2e.ts"
testToRun: 'apexLsp.e2e.ts'
vscodeVersion: ${{ inputs.vscodeVersion || '1.82.3' }}
runId: ${{ inputs.runId }}
os: ${{ inputs.os || '["ubuntu-latest"]' }}
Expand All @@ -174,7 +174,7 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: "runApexTests.e2e.ts"
testToRun: 'runApexTests.e2e.ts'
vscodeVersion: ${{ inputs.vscodeVersion || '1.82.3' }}
runId: ${{ inputs.runId }}
os: ${{ inputs.os || '["ubuntu-latest"]' }}
Expand All @@ -193,12 +193,12 @@ jobs:
uses: ./.github/workflows/slackNotification.yml
secrets: inherit
with:
title: "Base E2E Test Suite"
title: 'Base E2E Test Suite'
testsBranch: ${{ inputs.automationBranch }}
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Templates: ${{ needs.templates.result }}\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}'
result: "All the tests passed."
workflow: "actions/runs/${{ github.run_id }}"
type: "e2e"
result: 'All the tests passed.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'

slack_failure_notification:
if: ${{ failure() }}
Expand All @@ -214,12 +214,12 @@ jobs:
uses: ./.github/workflows/slackNotification.yml
secrets: inherit
with:
title: "Base E2E Test Suite"
title: 'Base E2E Test Suite'
testsBranch: ${{ inputs.automationBranch }}
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Templates: ${{ needs.templates.result }}\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}'
result: "Not all the tests passed."
workflow: "actions/runs/${{ github.run_id }}"
type: "e2e"
result: 'Not all the tests passed.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'

slack_cancelled_notification:
if: ${{ cancelled() }}
Expand All @@ -235,9 +235,9 @@ jobs:
uses: ./.github/workflows/slackNotification.yml
secrets: inherit
with:
title: "Base E2E Test Suite"
title: 'Base E2E Test Suite'
testsBranch: ${{ inputs.automationBranch }}
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Templates: ${{ needs.templates.result }}\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}'
result: "The workflow was cancelled."
workflow: "actions/runs/${{ github.run_id }}"
type: "e2e"
result: 'The workflow was cancelled.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'

0 comments on commit edf3651

Please sign in to comment.