Skip to content

Commit ab16a52

Browse files
committed
addition of "name" attributes for each step to bring consistent with established standard for AEP projects
1 parent 4754cf5 commit ab16a52

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ jobs:
1919
uses: apex-enterprise-patterns/setup-sfdx@v2 #We're using a fork of https://github.com/sfdx-actions/setup-sfdx for safety
2020
with:
2121
sfdx-auth-url: ${{ secrets.DEVHUB_SFDXURL }}
22-
- run: sf config set target-dev-hub SFDX-ENV --global #Even though the setup-sfdx action uses --setdefaultdevhubusername, it doesn't seem to stick since it uses --setdefaultusername so we brute force it here
23-
- run: sf org create scratch --definition-file config/project-scratch-def.json --set-default --duration-days 1 --no-track-source
24-
- run: sf project deploy start
25-
- run: sf apex run test --wait 5
22+
- name: Setup the config parameters needed
23+
run: sf config set target-dev-hub SFDX-ENV --global #Even though the setup-sfdx action uses --setdefaultdevhubusername, it doesn't seem to stick since it uses --setdefaultusername so we brute force it here
24+
- name: Create the scratch org
25+
run: sf org create scratch --definition-file config/project-scratch-def.json --set-default --duration-days 1 --no-track-source
26+
- name: Deploy and compile the codebase
27+
run: sf project deploy start
28+
- name: Run the core framework tests
29+
run: sf apex run test --wait 5
2630
- name: Destroy scratch org
2731
run: sf org delete scratch --no-prompt
2832
if: always()

0 commit comments

Comments
 (0)