Skip to content

Commit 68cbd7a

Browse files
committed
ci: 上报测试覆盖率
1 parent be17ba7 commit 68cbd7a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ jobs:
4545
run: pnpm build:asset
4646

4747
- name: Test
48-
run: pnpm test
48+
run: pnpm test:cov
4949

50-
# - name: Upload coverage reports to Codecov
51-
# uses: codecov/codecov-action@v3
52-
# with:
53-
# token: ${{ secrets.CODECOV_TOKEN }}
50+
- name: Upload coverage reports to Codecov
51+
uses: codecov/codecov-action@v3
52+
with:
53+
token: ${{ secrets.CODECOV_TOKEN }}
54+
files: ./test/.coverage/clover.xml

0 commit comments

Comments
 (0)