Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: modify workflow to add apexReplayDebugger test in RedHat #5946

Merged
merged 6 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading