File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : Code Coverage
2
2
3
- # Generates code coverage reports using grcov and uploads results to Coveralls .
3
+ # Generates code coverage reports using grcov and uploads results to Codecov .
4
4
# Runs on every push and pull request to track test coverage metrics.
5
- # Uploads coverage data to Coveralls for tracking and produces an HTML report artifact for download.
5
+ # Uploads coverage data to Codecov for tracking and produces an HTML report artifact for download.
6
6
7
7
on : [push, pull_request]
8
8
9
- permissions : {}
9
+ permissions :
10
+ contents : read
11
+ pull-requests : write
10
12
11
13
jobs :
12
- Codecov :
14
+ Coverage :
13
15
name : Code Coverage
14
16
runs-on : ubuntu-latest
15
17
env :
@@ -40,13 +42,14 @@ jobs:
40
42
run : grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --keep-only 'src/**' --ignore 'tests/**' --ignore 'examples/**' -o ./coverage/lcov.info
41
43
- name : Generate HTML coverage report
42
44
run : genhtml -o coverage-report.html --ignore-errors unmapped ./coverage/lcov.info
43
- - name : Coveralls upload
44
- # Action pinned at tag 2.3.6
45
- uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
45
+ - name : Codecov upload
46
+ uses : codecov/codecov-action@v4
46
47
with :
47
- github-token : ${{ secrets.GITHUB_TOKEN }}
48
48
file : ./coverage/lcov.info
49
- format : lcov
49
+ flags : rust
50
+ name : codecov-bdk-wallet
51
+ token : ${{ secrets.CODECOV_TOKEN }}
52
+ fail_ci_if_error : false
50
53
- name : Upload artifact
51
54
uses : actions/upload-artifact@v4
52
55
with :
You can’t perform that action at this time.
0 commit comments