diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index a62dd6c7..2ed7aa5c 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -13,10 +13,12 @@ jobs: run: bun install - name: Run tests and generate coverage run: bun run test:coverage + - name: Convert lcov to Cobertura + run: python ./scripts/lcov_cobertura.py ./coverage/lcov.info -o ./coverage/cobertura.xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: - file: ./coverage/lcov.info + file: ./coverage/cobertura.xml token: ${{ secrets.CODECOV_TOKEN }} env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}