diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index a62dd6c7..81f79d5c 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -12,7 +12,7 @@ jobs: - name: Install dependencies run: bun install - name: Run tests and generate coverage - run: bun run test:coverage + run: bun run test:coverage:lcov - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: diff --git a/package.json b/package.json index 873a7faa..ef91b59d 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "remove": "rm -rf node_modules/ bun.lockb $HOME/.bun/install/cache/", "update-deps": "bunx npm-check-updates --root --format group -i", "test:coverage": "bun test --coverage", + "test:coverage:lcov": "bun run test:coverage --coverage-reporter=lcov --coverage-dir ./coverage", "coverage:upload": "codecov" }, "author": "Joseph Chalabi",