Skip to content

Commit 17e0cc1

Browse files
committed
test: add codecov test collection
1 parent 634c749 commit 17e0cc1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,13 @@ jobs:
4747
run: bun run check
4848

4949
- name: Run tests
50-
run: bun run test -- --coverage
50+
run: bun run test -- --coverage --reporter=junit
51+
52+
- name: Upload test results to Codecov
53+
if: ${{ !cancelled() }}
54+
uses: codecov/test-results-action@v1
55+
with:
56+
token: ${{ secrets.CODECOV_TOKEN }}
5157

5258
- name: Upload test coverage
5359
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)