Skip to content

Commit

Permalink
@W-14071095@: Installing sfdx dependency and collecting coverage arti…
Browse files Browse the repository at this point in the history
…fact
  • Loading branch information
jfeingold35 committed Sep 13, 2023
1 parent 427aaae commit 4c893b3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
node-version: 'lts/*' # Node LTS should always be fine.
- name: 'Install node module dependencies'
run: yarn install --frozen-lockfile
- name: Install SFDX
run: yarn add @salesforce/cli --global
- name: Install Code Analyzer
run: sfdx plugins:install @salesforce/sfdx-scanner
- name: 'Run Unit Tests (Linux)'
run: xvfb-run -a yarn test
if: runner.os == 'Linux'
Expand All @@ -26,3 +30,10 @@ jobs:
if: runner.os != 'Linux'
- name: 'Lint'
run: yarn lint
- name: Upload coverage artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: code-coverage-${{ runner.os }}
path: ./coverage

0 comments on commit 4c893b3

Please sign in to comment.