Skip to content

Commit

Permalink
fix: failing workflow run because of missing lcov.info file
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberCitizen01 committed Jan 23, 2024
1 parent b5f00a1 commit e75209f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ jobs:
npm run test-coverage-ci || echo "Silently ignoring coverage threshold limit..."
- name: Install LCOV
if: ${{ hashFiles('./coverage/lcov.info') != '' }}
run: |
sudo apt-get update && sudo apt-get install --assume-yes lcov
- name: Report code coverage
if: ${{ hashFiles('./coverage/lcov.info') != '' }}
uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: ./coverage/lcov.info
Expand Down

0 comments on commit e75209f

Please sign in to comment.