Skip to content

Commit b312085

Browse files
Merge pull request #428 from apex-enterprise-patterns/427-run-samplecode-tests
427 run samplecode tests
2 parents 6382907 + f4d4d91 commit b312085

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.and.test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
- run: sfdx shane:github:src:install -c -g apex-enterprise-patterns -r fflib-apex-mocks -p sfdx-source/apex-mocks
2626
- run: sfdx force:source:push
2727
- run: sfdx force:apex:test:run -w 5
28+
#Intentionally install the Sample Code after the core AEP Commons test pass succeeds so that we don't deploy anything in Sample Code
29+
#that could mask a test failure. A much more involved solution would've been to do a workflow_dispatch to the samplecode project.
30+
- run: sfdx shane:github:src:install -c -g apex-enterprise-patterns -r fflib-apex-common-samplecode -p sfdx-source/apex-common-samplecode
31+
- run: sfdx force:apex:test:run -w 5
2832
- name: Destroy scratch org
2933
run: sfdx force:org:delete -p
3034
if: always()

0 commit comments

Comments
 (0)