diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7f7328b38c..421970dcd1 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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}}'