aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-20 11:46:05 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-20 11:46:05 +0800
commita5ab5528a9bb1cc523a0652f737109bb8823204b (patch)
treec85d143c778748788b98c3ad0c34f7e7a6a4ca8a /.github/workflows
parentd11d5cf4af0e6a15d37260361e9849ea99d15836 (diff)
feat(ci): add coverage test job with cargo-llvm-cov
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 332dda0..0a6a9a6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -85,6 +85,12 @@ jobs:
- name: Build API docs
run: cargo run --manifest-path .run/Cargo.toml --bin deploy-api-docs
+ - name: Install cargo-llvm-cov
+ run: cargo install cargo-llvm-cov
+
+ - name: Run cov-test
+ run: cargo run --manifest-path .run/Cargo.toml --bin cov-test
+
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact