Skip to content

Commit 35d83a8

Browse files
committed
add coverage ci
1 parent 9376931 commit 35d83a8

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
- name: Install rust toolchain
114114
uses: dtolnay/rust-toolchain@nightly
115115

116-
- name: cargo doc (rustls; all features)
116+
- name: cargo doc (rustls-mbedcrypto-provider; all features)
117117
run: cargo doc --locked --all-features --no-deps --document-private-items --package rustls-mbedcrypto-provider
118118
env:
119119
RUSTDOCFLAGS: -Dwarnings

admin/coverage

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
source <(cargo llvm-cov show-env --export-prefix)
6+
cargo llvm-cov clean --workspace
7+
8+
cargo build --locked --all-targets --all-features
9+
cargo test --locked --all-features
10+
cargo llvm-cov report "$@"

0 commit comments

Comments
 (0)