File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-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
12
+ id-token : write
10
13
11
14
jobs :
12
- Codecov :
15
+ Coverage :
13
16
name : Code Coverage
14
17
runs-on : ubuntu-latest
15
18
env :
@@ -40,13 +43,14 @@ jobs:
40
43
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
44
- name : Generate HTML coverage report
42
45
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
46
+ - name : Codecov upload
47
+ uses : codecov/codecov-action@v4
46
48
with :
47
- github-token : ${{ secrets.GITHUB_TOKEN }}
48
49
file : ./coverage/lcov.info
49
- format : lcov
50
+ flags : rust
51
+ name : codecov-bdk-wallet
52
+ use_oidc : true
53
+ fail_ci_if_error : false
50
54
- name : Upload artifact
51
55
uses : actions/upload-artifact@v4
52
56
with :
You can’t perform that action at this time.
0 commit comments