Skip to content

Commit 22dc4e2

Browse files
Add test reporting
1 parent b3d5275 commit 22dc4e2

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,18 @@ jobs:
1616
run: yarn install --dev
1717

1818
- name: Run tests
19-
run: yarn run test
19+
run: yarn run test -- --ci --reporters=default --reporters=jest-junit
2020
env:
2121
CI: true
2222

2323
- name: Upload coverage
2424
uses: codecov/codecov-action@v5
2525
with:
2626
token: ${{ secrets.CODECOV_TOKEN }}
27+
28+
- name: Upload test results to Codecov
29+
if: ${{ !cancelled() }}
30+
uses: codecov/test-results-action@v1
31+
with:
32+
token: ${{ secrets.CODECOV_TOKEN }}
33+
files: ./junit.xml

0 commit comments

Comments
 (0)