Skip to content

Commit 5c4f074

Browse files
committed
Add test for building example codes
Signed-off-by: Gris Ge <[email protected]>
1 parent 2317802 commit 5c4f074

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ jobs:
2424
- name: Install cargo-llvm-cov
2525
uses: taiki-e/install-action@cargo-llvm-cov
2626

27+
- name: Build examples
28+
run: cargo build --examples
29+
2730
- name: Test and Generate code coverage
2831
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
32+
2933
- name: Upload coverage to Codecov
3034
uses: codecov/codecov-action@v3
3135
with:

0 commit comments

Comments
 (0)