Skip to content

Commit

Permalink
Cristi/schedule e2e tests (#5161)
Browse files Browse the repository at this point in the history
* chore: move schedule logic back to main e2e workflow and add conditiob

* chore: back to schedule categories and justa dd condition there
  • Loading branch information
CristiCanizales committed Oct 17, 2023
1 parent a24d7ec commit 7bc2ae7
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 34 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/apexE2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,41 +72,41 @@ on:
jobs:

apexLSP:
if: ${{ inputs.apexLsp }}
if: ${{ github.event.inputs.apexLsp || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'apexLsp.e2e.ts'

apexReplayDebugger:
if: ${{ inputs.apexReplayDebugger }}
if: ${{ github.event.inputs.apexReplayDebugger || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'apexReplayDebugger.e2e.ts'

debugApexTests:
if: ${{ inputs.debugApexTests }}
if: ${{ github.event.inputs.debugApexTests || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'debugApexTests.e2e.ts'

runApexTests:
if: ${{ inputs.runApexTests }}
if: ${{ github.event.inputs.runApexTests || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'runApexTests.e2e.ts'

trailApexReplayDebugger:
if: ${{ inputs.trailApexReplayDebugger }}
if: ${{ github.event.inputs.trailApexReplayDebugger || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'trailApexReplayDebugger.e2e.ts'
28 changes: 14 additions & 14 deletions .github/workflows/coreE2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,57 +92,57 @@ on:
jobs:

anInitialSuite:
if: ${{ inputs.anInitialSuite }}
if: ${{ github.event.inputs.anInitialSuite || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'anInitialSuite.e2e.ts'

authentication:
if: ${{ inputs.authentication }}
if: ${{ github.event.inputs.authentication || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'authentication.e2e.ts'

deployAndRetrieve:
if: ${{ inputs.deployAndRetrieve }}
if: ${{ github.event.inputs.deployAndRetrieve || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'deployAndRetrieve.e2e.ts'

manifestBuilder:
if: ${{ inputs.manifestBuilder }}
if: ${{ github.event.inputs.manifestBuilder || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'manifestBuilder.e2e.ts'

pushAndPull:
if: ${{ inputs.pushAndPull }}
if: ${{ github.event.inputs.pushAndPull || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'pushAndPull.e2e.ts'

sObjectsDefinitions:
if: ${{ inputs.sObjectsDefinitions }}
if: ${{ github.event.inputs.sObjectsDefinitions || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'sObjectsDefinitions.e2e.ts'

templates:
if: ${{ inputs.templates }}
if: ${{ github.event.inputs.templates || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'templates.e2e.ts'
12 changes: 6 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ on:
jobs:

Apex_E2E_tests:
if: ${{ inputs.apexE2ETests }}
if: ${{ github.event.inputs.apexE2ETests }}
uses: ./.github/workflows/apexE2E.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}

Core_E2E_tests:
if: ${{ inputs.coreE2ETests }}
if: ${{ github.event.inputs.coreE2ETests }}
uses: ./.github/workflows/coreE2E.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}

LSP_E2E_tests:
if: ${{ inputs.lspE2ETests }}
if: ${{ github.event.inputs.lspE2ETests }}
uses: ./.github/workflows/lspE2E.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
8 changes: 4 additions & 4 deletions .github/workflows/lspE2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ on:
jobs:

auraLSP:
if: ${{ inputs.auraLsp }}
if: ${{ github.event.inputs.auraLsp || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'auraLsp.e2e.ts'

visualforceLSP:
if: ${{ inputs.visualforceLsp }}
if: ${{ github.event.inputs.visualforceLsp || github.event_name == 'schedule' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
automationBranch: ${{ github.event.inputs.automationBranch }}
testToRun: 'visualforceLsp.e2e.ts'

0 comments on commit 7bc2ae7

Please sign in to comment.