File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 74
74
75
75
- name : Upload coverage
76
76
if : github.repository == 'iron-fish/ironfish'
77
- run : CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} ROOT_PATH=$GITHUB_WORKSPACE/ yarn coverage:upload
77
+ uses : codecov/codecov-action@v4
78
+ with :
79
+ fail_ci_if_error : true
80
+ token : ${{ secrets.CODECOV_TOKEN }}
81
+ flags : ironfish
82
+
78
83
79
84
testslow :
80
85
name : Slow Tests
@@ -111,4 +116,8 @@ jobs:
111
116
112
117
- name : Upload coverage
113
118
if : github.repository == 'iron-fish/ironfish'
114
- run : CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} ROOT_PATH=$GITHUB_WORKSPACE/ yarn coverage:upload
119
+ uses : codecov/codecov-action@v4
120
+ with :
121
+ fail_ci_if_error : true
122
+ token : ${{ secrets.CODECOV_TOKEN }}
123
+ flags : ironfish
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105
105
106
106
# Upload code coverage to Codecov
107
107
- name : Upload to codecov.io
108
- uses : codecov/codecov-action@v3
108
+ uses : codecov/codecov-action@v4
109
109
with :
110
110
token : ${{secrets.CODECOV_TOKEN}}
111
111
flags : ironfish-rust
@@ -131,7 +131,7 @@ jobs:
131
131
132
132
# Upload code coverage to Codecov
133
133
- name : Upload to codecov.io
134
- uses : codecov/codecov-action@v3
134
+ uses : codecov/codecov-action@v4
135
135
with :
136
136
token : ${{secrets.CODECOV_TOKEN}}
137
137
flags : ironfish-zkp
Original file line number Diff line number Diff line change 32
32
"test:slow:coverage" : " lerna run test:slow --stream -- --testPathIgnorePatterns --collect-coverage" ,
33
33
"test:perf:report" : " lerna run test:perf:report" ,
34
34
"typecheck" : " lerna exec -- tsc --noEmit" ,
35
- "typecheck:changed" : " lerna exec --since origin/master --include-dependents -- tsc --noEmit" ,
36
- "coverage:upload" : " lerna exec '\" yarn codecov -t $CODECOV_TOKEN -f ./coverage/clover.xml -F $LERNA_PACKAGE_NAME -p $ROOT_PATH/ --disable=gcov\" '"
35
+ "typecheck:changed" : " lerna exec --since origin/master --include-dependents -- tsc --noEmit"
37
36
},
38
37
"devDependencies" : {
39
38
"@typescript-eslint/eslint-plugin" : " 6.19.0" ,
You can’t perform that action at this time.
0 commit comments