File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2.1
2
+
3
+ orbs :
4
+
5
+
6
+ defaults : &defaults
7
+ working_directory : /go/src/github.com/go-language-server/jsonrpc2
8
+ executor : golang/stretch
9
+ environment :
10
+ GO111MODULE : " on"
11
+ shell : /bin/bash -euo pipefail
12
+
13
+ jobs :
14
+ test :
15
+ << : *defaults
16
+ steps :
17
+ - checkout
18
+ - golang/gomod
19
+ - run :
20
+ name : Test and collect coverages
21
+ command : |
22
+ make coverage/ci
23
+ - run :
24
+ name : Upload coverages to codecov
25
+ command : |
26
+ bash <(curl -s https://codecov.io/bash) -f /tmp/ci/artifacts/coverage.out
27
+ - store_artifacts :
28
+ path : /tmp/ci/artifacts
29
+ - store_artifacts :
30
+ path : /tmp/ci/artifacts
31
+ - store_test_results :
32
+ path : /tmp/ci/test-results
33
+
34
+ lint :
35
+ << : *defaults
36
+ steps :
37
+ - checkout
38
+ - golang/gomod
39
+ - run :
40
+ name : Run lint for sources
41
+ command : |
42
+ make lint
43
+
44
+ workflows :
45
+ version : 2
46
+ workflows :
47
+ jobs :
48
+ - test :
49
+ context : org-global
50
+ - lint :
51
+ context : org-global
You can’t perform that action at this time.
0 commit comments