From e0a424172e8702feec93caa45da222104d41cc31 Mon Sep 17 00:00:00 2001 From: Daphne Yang Date: Wed, 14 Feb 2024 18:03:56 -0500 Subject: [PATCH] chore: add VSCode version input to Slack Notification to match fork to branch --- .github/workflows/apexE2E.yml | 3 +++ .github/workflows/baseSuiteE2E.yml | 3 +++ .github/workflows/coreE2E.yml | 3 +++ .github/workflows/lspE2E.yml | 3 +++ .github/workflows/slackNotification.yml | 4 ++++ 5 files changed, 16 insertions(+) diff --git a/.github/workflows/apexE2E.yml b/.github/workflows/apexE2E.yml index 355e5c1cc..4390b7668 100644 --- a/.github/workflows/apexE2E.yml +++ b/.github/workflows/apexE2E.yml @@ -150,6 +150,7 @@ jobs: secrets: inherit with: title: 'Apex E2E Tests' + vscodeVersion: ${{ inputs.vscodeVersion }} testsBranch: ${{ inputs.automationBranch }} summary: '\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Apex Replay Debugger: ${{ needs.apexReplayDebugger.result }}\n- Debug Apex Tests: ${{ needs.debugApexTests.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}\n- Trail Apex Replay Debugger: ${{ needs.trailApexReplayDebugger.result }}' result: 'All the tests passed.' @@ -170,6 +171,7 @@ jobs: secrets: inherit with: title: 'Apex E2E Tests' + vscodeVersion: ${{ inputs.vscodeVersion }} testsBranch: ${{ inputs.automationBranch }} summary: '\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Apex Replay Debugger: ${{ needs.apexReplayDebugger.result }}\n- Debug Apex Tests: ${{ needs.debugApexTests.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}\n- Trail Apex Replay Debugger: ${{ needs.trailApexReplayDebugger.result }}' result: 'Not all the tests passed.' @@ -190,6 +192,7 @@ jobs: secrets: inherit with: title: 'Apex E2E Tests' + vscodeVersion: ${{ inputs.vscodeVersion }} testsBranch: ${{ inputs.automationBranch }} summary: '\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Apex Replay Debugger: ${{ needs.apexReplayDebugger.result }}\n- Debug Apex Tests: ${{ needs.debugApexTests.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}\n- Trail Apex Replay Debugger: ${{ needs.trailApexReplayDebugger.result }}' result: 'The workflow was cancelled.' diff --git a/.github/workflows/baseSuiteE2E.yml b/.github/workflows/baseSuiteE2E.yml index 519e317a0..bbb8122af 100644 --- a/.github/workflows/baseSuiteE2E.yml +++ b/.github/workflows/baseSuiteE2E.yml @@ -194,6 +194,7 @@ jobs: secrets: inherit with: title: 'Base E2E Test Suite' + vscodeVersion: ${{ inputs.vscodeVersion }} testsBranch: ${{ inputs.automationBranch }} summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- LWC LSP: ${{ needs.lwcLSP.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.' @@ -215,6 +216,7 @@ jobs: secrets: inherit with: title: 'Base E2E Test Suite' + vscodeVersion: ${{ inputs.vscodeVersion }} testsBranch: ${{ inputs.automationBranch }} summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- LWC LSP: ${{ needs.lwcLSP.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.' @@ -236,6 +238,7 @@ jobs: secrets: inherit with: title: 'Base E2E Test Suite' + vscodeVersion: ${{ inputs.vscodeVersion }} testsBranch: ${{ inputs.automationBranch }} summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- LWC LSP: ${{ needs.lwcLSP.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.' diff --git a/.github/workflows/coreE2E.yml b/.github/workflows/coreE2E.yml index 7f9241f0a..b85b696e0 100644 --- a/.github/workflows/coreE2E.yml +++ b/.github/workflows/coreE2E.yml @@ -149,6 +149,7 @@ jobs: 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 }}' summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}' @@ -169,6 +170,7 @@ jobs: 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 }}' summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}' @@ -189,6 +191,7 @@ jobs: 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 }}' summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}' diff --git a/.github/workflows/lspE2E.yml b/.github/workflows/lspE2E.yml index 4c904fccb..200dbb79c 100644 --- a/.github/workflows/lspE2E.yml +++ b/.github/workflows/lspE2E.yml @@ -103,6 +103,7 @@ jobs: secrets: inherit with: title: 'LSP E2E Tests' + vscodeVersion: ${{ inputs.vscodeVersion }} testsBranch: ${{ inputs.automationBranch }} summary: '\n- Aura LSP: ${{ needs.auraLSP.result }}\n- LWC LSP: ${{ needs.lwcLSP.result }}\n- Visualforce LSP: ${{ needs.visualforceLSP.result }}' result: 'All the tests passed.' @@ -116,6 +117,7 @@ jobs: secrets: inherit with: title: 'LSP E2E Tests' + vscodeVersion: ${{ inputs.vscodeVersion }} testsBranch: ${{ inputs.automationBranch }} summary: '\n- Aura LSP: ${{ needs.auraLSP.result }}\n- LWC LSP: ${{ needs.lwcLSP.result }}\n- Visualforce LSP: ${{ needs.visualforceLSP.result }}' result: 'Not all the tests passed.' @@ -129,6 +131,7 @@ jobs: secrets: inherit with: title: 'LSP E2E Tests' + vscodeVersion: ${{ inputs.vscodeVersion }} testsBranch: ${{ inputs.automationBranch }} summary: '\n- Aura LSP: ${{ needs.auraLSP.result }}\n- LWC LSP: ${{ needs.lwcLSP.result }}\n- Visualforce LSP: ${{ needs.visualforceLSP.result }}' result: 'The workflow was cancelled.' diff --git a/.github/workflows/slackNotification.yml b/.github/workflows/slackNotification.yml index a8bc1d962..698299e26 100644 --- a/.github/workflows/slackNotification.yml +++ b/.github/workflows/slackNotification.yml @@ -30,6 +30,9 @@ on: testsBranch: description: Branch from the E2E Automation Tests repo type: string + vscodeVersion: + description: VSCode version that the tests were run on + type: string secrets: IDEE_RELEASE_SLACK_WEBHOOK: required: true @@ -100,6 +103,7 @@ jobs: payload: | { "category": "${{ inputs.title }}", + "vscodeVersion": "${{ inputs.vscodeVersion }}", "branch": "${{ github.ref_name }}", "testsBranch": "${{ inputs.testsBranch }}", "summary": "${{ inputs.summary }}",