From 32eb051c50944e7f8888baf181bd9c2bce9a4d97 Mon Sep 17 00:00:00 2001 From: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:13:33 +0530 Subject: [PATCH] cleanup to eradicate jest fully --- .github/workflows/pull-request.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 9bbdf268a1..19efe2e1af 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -250,28 +250,13 @@ jobs: NODE_V8_COVERAGE: './coverage/vitest' run: | npm run test:vitest:coverage - - - name: Upload Vitest Coverage to Codecov - if: steps.changed-files.outputs.any_changed == 'true' - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./coverage/vitest/lcov.info - flags: vitest - fail_ci_if_error: true - - - name: Merge Jest and Vitest Coverage Reports - run: | - mkdir -p ./coverage - npx lcov-result-merger './coverage/*/lcov.info' './coverage/lcov.info' - - name: Upload Combined Coverage to Codecov + - name: Upload Coverage to Codecov uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} gcov_ignore: 'docs/' - files: ./coverage/lcov.info - flags: combined + files: ./coverage/vitest/lcov.info fail_ci_if_error: true - name: TypeScript compilation for changed files