Skip to content

Commit

Permalink
fix: Added changes to fix the lcov issue (twilio#170)
Browse files Browse the repository at this point in the history
* fix: Added the changes for lcov

* Update package.json
  • Loading branch information
ravali-rimmalapudi committed Nov 9, 2021
1 parent d971661 commit a3aaa7b
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/cli-core-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
steps:
- name: Checkout cli core repo
uses: actions/checkout@v2
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- run: npm install
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
Expand All @@ -22,21 +25,14 @@ jobs:
cache: 'npm'
- name: Run tests
run: npm test
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
notify-complete-fail:
if: ${{ failure() || cancelled() }}
needs: [ test, sonarcloud ]
if: ${{ failure() && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
needs: [ test ]
name: Notify Test Failed
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a3aaa7b

Please sign in to comment.