Skip to content

Commit

Permalink
full path to SFDX installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincoln Rychecky authored and Lincoln Rychecky committed Aug 22, 2024
1 parent 6e07d8a commit 4241904
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/apex-tests-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:

- name: Install Salesforce CLI
run: |
npm install sfdx-cli
node_modules/sfdx-cli/bin/run --version
node_modules/sfdx-cli/bin/run plugins --core
npm install --global sfdx-cli
sfdx --version
sfdx plugins --core
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -38,13 +38,13 @@ jobs:
fi
- name: Authenticate to Dev Hub
run: node_modules/.bin/sfdx auth:sfdxurl:store -f ./DEVHUB_SFDX_URL.txt -a devhub -d
run: sfdx auth:sfdxurl:store -f ./DEVHUB_SFDX_URL.txt -a devhub -d

- name: Create Scratch Org
run: node_modules/.bin/sfdx force:org:create -s -f config/project-scratch-def.json -a MyScratchOrg
run: sfdx force:org:create -s -f config/project-scratch-def.json -a MyScratchOrg

- name: Push Source to Scratch Org
run: node_modules/.bin/sfdx force:source:push -u MyScratchOrg
run: sfdx force:source:push -u MyScratchOrg

- name: Run Apex Tests
run: node_modules/.bin/sfdx force:apex:test:run -u MyScratchOrg --wait 10 --resultformat human --codecoverage
run: sfdx force:apex:test:run -u MyScratchOrg --wait 10 --resultformat human --codecoverage

0 comments on commit 4241904

Please sign in to comment.