Skip to content

Commit

Permalink
chore: modify workflow to add apexReplayDebugger test in RedHat (#5946)
Browse files Browse the repository at this point in the history
* chore: modify workflow to add apexReplayDebugger test in RedHat

* chore: replace e2e.yml, apexE2E.yml, and coreE2E.yml with the RedHat versions

* fix: remove mention of ESM in e2e.yml

* fix: e2e.yml calls apexE2E.yml

* fix: e2e.yml calls apexE2E.yml
  • Loading branch information
daphne-sfdc authored Nov 13, 2024
1 parent e0ac9e1 commit 0a86ac3
Show file tree
Hide file tree
Showing 7 changed files with 172 additions and 672 deletions.
48 changes: 17 additions & 31 deletions .github/workflows/apexE2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ on:
vscodeVersion:
description: 'VSCode Version'
required: false
default: '1.92.2'
default: 'stable'
type: string
runId:
description: 'Run ID of the workflow run that created the vsixes'
Expand Down Expand Up @@ -78,7 +78,7 @@ on:
vscodeVersion:
description: 'VSCode Version'
required: false
default: '1.92.2'
default: 'stable'
type: string
runId:
description: 'Run ID of the workflow run that created the vsixes'
Expand All @@ -92,7 +92,8 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'apexLsp.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'apexLsp.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

Expand All @@ -102,27 +103,32 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'apexReplayDebugger.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'apexReplayDebugger.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}
os: '["macos-latest"]'

debugApexTests:
if: ${{ inputs.debugApexTests }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'debugApexTests.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'debugApexTests.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}
os: '["macos-latest", "windows-latest"]'

runApexTests:
if: ${{ inputs.runApexTests }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'runApexTests.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'runApexTests.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

Expand All @@ -132,20 +138,14 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'trailApexReplayDebugger.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'trailApexReplayDebugger.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

slack_success_notification:
if: ${{ success() }}
needs:
[
apexLSP,
apexReplayDebugger,
debugApexTests,
runApexTests,
trailApexReplayDebugger
]
needs: [apexLSP, apexReplayDebugger, debugApexTests, runApexTests, trailApexReplayDebugger]
uses: ./.github/workflows/slackNotification.yml
secrets: inherit
with:
Expand All @@ -159,14 +159,7 @@ jobs:

slack_failure_notification:
if: ${{ failure() }}
needs:
[
apexLSP,
apexReplayDebugger,
debugApexTests,
runApexTests,
trailApexReplayDebugger
]
needs: [apexLSP, apexReplayDebugger, debugApexTests, runApexTests, trailApexReplayDebugger]
uses: ./.github/workflows/slackNotification.yml
secrets: inherit
with:
Expand All @@ -180,14 +173,7 @@ jobs:

slack_cancelled_notification:
if: ${{ cancelled() }}
needs:
[
apexLSP,
apexReplayDebugger,
debugApexTests,
runApexTests,
trailApexReplayDebugger
]
needs: [apexLSP, apexReplayDebugger, debugApexTests, runApexTests, trailApexReplayDebugger]
uses: ./.github/workflows/slackNotification.yml
secrets: inherit
with:
Expand Down
190 changes: 0 additions & 190 deletions .github/workflows/apexE2EredHat.yml

This file was deleted.

Loading

0 comments on commit 0a86ac3

Please sign in to comment.