Skip to content

Commit

Permalink
chore: pushAndPull test in redhat (#5922)
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiCanizales authored Oct 28, 2024
1 parent f56a9b2 commit 16ed2a0
Showing 1 changed file with 29 additions and 31 deletions.
60 changes: 29 additions & 31 deletions .github/workflows/deployRetrieveE2EredHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ on:
required: false
default: true
type: boolean
# pushAndPull:
# description: 'Push and Pull'
# required: false
# default: true
# type: boolean
pushAndPull:
description: 'Push and Pull'
required: false
default: true
type: boolean
# mdDeployRetrieve:
# description: 'Metadata Deploy and Retrieve'
# required: false
Expand Down Expand Up @@ -75,11 +75,11 @@ on:
required: false
default: true
type: boolean
# pushAndPull:
# description: 'Push and Pull'
# required: false
# default: true
# type: boolean
pushAndPull:
description: 'Push and Pull'
required: false
default: true
type: boolean
# mdDeployRetrieve:
# description: 'Metadata Deploy and Retrieve'
# required: false
Expand Down Expand Up @@ -139,15 +139,16 @@ jobs:
vscodeVersion: ${{ inputs.vscodeVersion }}
runId: ${{ inputs.runId }}

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

# mdDeployRetrieve:
# if: ${{ inputs.mdDeployRetrieve && inputs.vscodeVersion == '1.92.2'}}
Expand All @@ -166,8 +167,8 @@ jobs:
deployAndRetrieve,
# diffAndConflictDetection,
manifestBuilder,
orgBrowser
# pushAndPull,
orgBrowser,
pushAndPull
# mdDeployRetrieve
]
uses: ./.github/workflows/slackNotification.yml
Expand All @@ -176,8 +177,7 @@ jobs:
title: 'Deploy and Retrieve E2E Tests'
vscodeVersion: ${{ inputs.vscodeVersion }}
testsBranch: ${{ inputs.automationBranch }}
# summary: '\n- Diff and Conflict Detection: ${{ needs.diffAndConflictDetection.result }}\n- Push and Pull: ${{ needs.pushAndPull.result }}'
summary: '\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Manifest Builder: ${{ needs.manifestBuilder.result }}\n- Org Browser: ${{ needs.orgBrowser.result }}'
summary: '\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Manifest Builder: ${{ needs.manifestBuilder.result }}\n- Org Browser: ${{ needs.orgBrowser.result }}\n- Push and Pull: ${{ needs.pushAndPull.result }}'
result: 'All the tests passed.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'
Expand All @@ -188,8 +188,8 @@ jobs:
deployAndRetrieve,
# diffAndConflictDetection,
manifestBuilder,
orgBrowser
# pushAndPull,
orgBrowser,
pushAndPull
# mdDeployRetrieve
]
uses: ./.github/workflows/slackNotification.yml
Expand All @@ -198,8 +198,7 @@ jobs:
title: 'Deploy and Retrieve E2E Tests'
vscodeVersion: ${{ inputs.vscodeVersion }}
testsBranch: ${{ inputs.automationBranch }}
# summary: '\n- Diff and Conflict Detection: ${{ needs.diffAndConflictDetection.result }}\n- Push and Pull: ${{ needs.pushAndPull.result }}'
summary: '\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Manifest Builder: ${{ needs.manifestBuilder.result }}\n- Org Browser: ${{ needs.orgBrowser.result }}'
summary: '\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Manifest Builder: ${{ needs.manifestBuilder.result }}\n- Org Browser: ${{ needs.orgBrowser.result }}\n- Push and Pull: ${{ needs.pushAndPull.result }}'
result: 'Not all the tests passed.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'
Expand All @@ -210,8 +209,8 @@ jobs:
deployAndRetrieve,
# diffAndConflictDetection,
manifestBuilder,
orgBrowser
# pushAndPull,
orgBrowser,
pushAndPull
# mdDeployRetrieve
]
uses: ./.github/workflows/slackNotification.yml
Expand All @@ -220,8 +219,7 @@ jobs:
title: 'Deploy and Retrieve E2E Tests'
vscodeVersion: ${{ inputs.vscodeVersion }}
testsBranch: ${{ inputs.automationBranch }}
# summary: '\n- Diff and Conflict Detection: ${{ needs.diffAndConflictDetection.result }}\n- Push and Pull: ${{ needs.pushAndPull.result }}'
summary: '\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Manifest Builder: ${{ needs.manifestBuilder.result }}\n- Org Browser: ${{ needs.orgBrowser.result }}'
summary: '\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Manifest Builder: ${{ needs.manifestBuilder.result }}\n- Org Browser: ${{ needs.orgBrowser.result }}\n- Push and Pull: ${{ needs.pushAndPull.result }}'
result: 'The workflow was cancelled.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'

0 comments on commit 16ed2a0

Please sign in to comment.