Skip to content

Commit c350976

Browse files
committed
add coverage ci
1 parent 99d028d commit c350976

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/coverage.yml

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

0 commit comments

Comments
 (0)