Skip to content

Commit c82e072

Browse files
committed
update run tests workflow
1 parent c6cbf7c commit c82e072

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ jobs:
2929
run: bun install
3030

3131
- name: Run the tests with coverage
32-
run: bun test
32+
run: bun test --coverage-junit --coverage
33+
34+
- name: Upload failed test results to Codecov
35+
if: ${{ !cancelled() }}
36+
uses: codecov/test-results-action@v1
37+
with:
38+
token: ${{ secrets.CODECOV_TOKEN }}
3339

3440
- name: Upload coverage to Codecov
3541
uses: codecov/codecov-action@v4
3642
with:
3743
token: ${{ secrets.CODECOV_TOKEN }}
38-
directory: coverage

0 commit comments

Comments
 (0)