Skip to content

Commit 77b4aff

Browse files
committed
added test coverage for ci
1 parent e5e20ba commit 77b4aff

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,20 @@ jobs:
7676
cd ./examples/how-to
7777
cmake -S . -B build -Dphasar_ROOT=../../INSTALL
7878
cmake --build ./build --target run_sample_programs
79+
test-coverage:
80+
runs-on: ${{ matrix.os }}
81+
steps:
82+
- name: Checkout Project
83+
uses: actions/[email protected]
84+
85+
- name: Build Project
86+
uses: threeal/[email protected]
87+
88+
- name: Test Project
89+
uses: threeal/[email protected]
90+
91+
- name: Check Test Coverage and generate HTML report
92+
uses: threeal/[email protected]
93+
with:
94+
gcov-executable: llvm-cov gcov
95+
html-out: coverage.html

0 commit comments

Comments
 (0)