Skip to content

Commit

Permalink
Update push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
palisadoes authored Jan 29, 2025
1 parent 008904a commit 714f5a5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,20 @@ jobs:
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
run: npm install
- run: npm run test -- --watchAll=false --coverage

- name: Run Vitest Tests
env:
NODE_V8_COVERAGE: './coverage/vitest'
run: |
npm run test:vitest:coverage
- name: Present and upload coverage to Codecov as ${{env.CODECOV_UNIQUE_NAME}}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
exclude: 'docs/'
gcov_ignore: 'docs/'
files: ./coverage/vitest/lcov.info
fail_ci_if_error: false
name: '${{env.CODECOV_UNIQUE_NAME}}'

0 comments on commit 714f5a5

Please sign in to comment.