feat(ci): integrate Codecov for test coverage reporting

This commit is contained in:
t8y2
2026-05-14 20:33:26 +08:00
parent ecb878315c
commit 8305b9670f
5 changed files with 286 additions and 1 deletions
+7 -1
View File
@@ -32,7 +32,13 @@ jobs:
run: npx vue-tsc --noEmit
- name: Frontend tests
run: pnpm test
run: pnpm test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable