Skip to content

Commit

Permalink
chore: templates test in redhat
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiCanizales committed Oct 23, 2024
1 parent c24fc2e commit ac91558
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 32 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/coreE2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'anInitialSuite.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'anInitialSuite.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

Expand All @@ -112,7 +113,8 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'authentication.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'authentication.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

Expand All @@ -122,7 +124,8 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'miscellaneous.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'miscellaneous.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

Expand All @@ -132,7 +135,8 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'sObjectsDefinitions.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'sObjectsDefinitions.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

Expand All @@ -142,7 +146,8 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'templates.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'templates.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

Expand All @@ -152,7 +157,8 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'sfdxProjectJson.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'sfdxProjectJson.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

Expand All @@ -162,7 +168,8 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'createProjectTest.e2e.ts'
automationRepo: 'salesforcedx-vscode-automation-tests-redhat'
testToRun: 'createProjectTest.e2e.js'
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ on:
required: false
default: true
type: boolean
coreE2ETests:
description: 'Core E2E Tests'
required: false
default: true
type: boolean
deployAndRetrieveE2ETests:
description: 'Deploy and Retrieve E2E Tests'
required: false
Expand Down Expand Up @@ -55,15 +50,6 @@ jobs:
vscodeVersion: ${{ inputs.vscodeVersion || '1.92.2' }}
runId: ${{ inputs.runId || github.event.workflow_run.id }}

Core_E2E_tests:
if: ${{ inputs.coreE2ETests || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
uses: ./.github/workflows/coreE2E.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch || 'main' }}
vscodeVersion: ${{ inputs.vscodeVersion || '1.92.2' }}
runId: ${{ inputs.runId || github.event.workflow_run.id }}

DeployAndRetrieve_E2E_tests:
if: ${{ inputs.deployAndRetrieveE2ETests || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
uses: ./.github/workflows/deployRetrieveE2E.yml
Expand Down Expand Up @@ -91,15 +77,6 @@ jobs:
vscodeVersion: '1.86.0'
runId: ${{ github.event.workflow_run.id }}

Core_E2E_tests_min_vscode_version:
if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/coreE2E.yml
secrets: inherit
with:
automationBranch: 'main'
vscodeVersion: '1.86.0'
runId: ${{ github.event.workflow_run.id }}

DeployAndRetrieve_E2E_tests_min_vscode_version:
if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/deployRetrieveE2E.yml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2eRedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

Core:
if: ${{ inputs.coreE2ETests || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
uses: ./.github/workflows/coreE2EredHat.yml
uses: ./.github/workflows/coreE2E.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch || 'main' }}
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:

Core_min_vscode_version:
if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/coreE2EredHat.yml
uses: ./.github/workflows/coreE2E.yml
secrets: inherit
with:
automationBranch: 'main'
Expand Down

0 comments on commit ac91558

Please sign in to comment.