Skip to content

Commit d07a8c1

Browse files
committed
ci: add github action for running coverage
1 parent efc6835 commit d07a8c1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/llvm_cov.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Run llvm-cov
3+
on: # yamllint disable-line rule:truthy
4+
pull_request:
5+
branches: ['*']
6+
7+
jobs:
8+
coverage:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Code
12+
uses: actions/checkout@v3
13+
14+
- name: Install LLVM
15+
run: |
16+
sudo apt update
17+
sudo apt install -y llvm
18+
19+
- name: Run Coverage Script
20+
run: bazel run //tools/coverage:llvm_cov -- -t //examples/cpp:test -s

0 commit comments

Comments
 (0)