aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml6
-rw-r--r--.run/src/bin/cov-test.rs1
-rw-r--r--README.md1
3 files changed, 7 insertions, 1 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
diff --git a/.run/src/bin/cov-test.rs b/.run/src/bin/cov-test.rs
index e5b7f1e..a53f74c 100644
--- a/.run/src/bin/cov-test.rs
+++ b/.run/src/bin/cov-test.rs
@@ -1,5 +1,4 @@
use std::fs;
-use std::path::PathBuf;
use tools::{println_cargo_style, run_cmd};
const OUTPUT_DIR: &str = "docs/cov-test";
diff --git a/README.md b/README.md
index 710e8b3..753413d 100644
--- a/README.md
+++ b/README.md
@@ -165,4 +165,5 @@ See [LICENSE-MIT](LICENSE-MIT) or [LICENSE-APACHE](LICENSE-APACHE) file for deta
- 💡 Examples - [Github](https://mingling-rs.github.io/mingling/docs/examples.html)
- 📖 Help Doc - [EN](https://mingling-rs.github.io/mingling/docs/doc.html#/) | [中文](https://mingling-rs.github.io/mingling/docs/_zh_CN/index.html#/)
- 📖 API Doc - [docs.rs](https://docs.rs/mingling/latest/mingling/) | [latest](https://mingling-rs.github.io/mingling/docs/api-docs/mingling/)
+- 📖 Coverage Test - [LLVM Coverage](https://mingling-rs.github.io/mingling/docs/cov-test/)
- 📖 Dev Doc - [Github](https://mingling-rs.github.io/mingling/docs/dev/)