Skip to content

Commit 2aaa353

Browse files
committed
add coverage ci
1 parent 99d028d commit 2aaa353

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/coverage.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Code Coverage
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- main
8+
- develop
9+
- master
10+
- dev
11+
12+
jobs:
13+
ledger-code-coverage:
14+
uses: Zondax/_workflows/.github/workflows/_ledger_code_coverage.yml@ci-coverage
15+
with:
16+
runs-on: "${{ github.repository_owner == 'zondax' && 'zondax-runners' || 'ubuntu-latest' }}"
17+
has-rust: false
18+
has-cpp: true
19+
enable-pr-comment: true
20+
coverage-threshold: 60

0 commit comments

Comments
 (0)