File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ version: 2.1
2
2
3
3
orbs :
4
4
golang : cci-orb/golang@volatile
5
- codecov : codecov/codecov@1.1.4
6
5
7
6
command_vars :
8
7
- cache_key : &cache_key gomod-<< parameters.go-version >>-{{ checksum "go.mod" }}-{{ checksum "go.sum" }}
88
87
auth :
89
88
username : $DOCKERHUB_USER
90
89
password : $DOCKERHUB_PASSWORD
90
+ environment :
91
+ CODOCOV_VERSION : v0.1.0_5313
91
92
working_directory : /go/src/go.lsp.dev/jsonrpc2
92
93
resource_class : xlarge
93
94
steps :
@@ -106,9 +107,13 @@ jobs:
106
107
command : |
107
108
mkdir -p /tmp/test-results
108
109
make coverage
109
- - codecov/upload :
110
- file : " coverage.out "
110
+ - run :
111
+ name : Upload coverage result to Codecov
111
112
when : on_success
113
+ command : |
114
+ curl -sLO https://github.com/codecov/uploader/releases/download/${CODOCOV_VERSION}/codecov-linux
115
+ chmod +x codecov-linux
116
+ ./codecov-linux --file coverage.out
112
117
113
118
lint :
114
119
parameters :
You can’t perform that action at this time.
0 commit comments