Skip to content

Commit

Permalink
Trying Jest tests in the build
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-baillie-ortoo committed Dec 13, 2021
1 parent 0f2ad8c commit b5cb6f1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/create-org-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,19 @@ jobs:
- name: Deploy framework to Org
run: sfdx force:source:deploy -p framework --targetusername "${{env.ORG_ALIAS_PREFIX}}${{github.run_number}}"

# Run All Unit Tests
# Run Apex Unit Tests

- name: Run All Unit Tests
- name: Run Apex Unit Tests
run: sfdx force:apex:test:run -r human -u "${{env.ORG_ALIAS_PREFIX}}${{github.run_number}}" --codecoverage --wait 20 | grep -v ' Pass '; test ${PIPESTATUS[0]} -eq 0

# Prepate Jest
- name: Install modules
run: npm install

# Run Jest Unit Tests
- name: Run Jest Unit Tests
run: npm test

# Delete Scratch Org

- name: Delete Scratch Org
Expand Down
5 changes: 3 additions & 2 deletions TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ Look at:
SobjectUtils.getSobjectName

* LWCs
* Finish Modal

* Review:
* Confirmation Dialog
* Read Only Field
* Self Configured Combobox

* Create exception rendering / error rendering

* Make a page for LWCs
* Document:
* Modal
Expand Down

0 comments on commit b5cb6f1

Please sign in to comment.