File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ commands:
26
26
echo "Running $(echo $PACKAGE_NAMES | wc -w) packages"
27
27
echo $PACKAGE_NAMES
28
28
<< parameters.cmd >> --format=short-verbose --junitfile $TEST_RESULTS_PATH/go-getter/gotestsum-report.xml -- -p 2 -cover -race -vet=<< parameters.govet >> -coverprofile=<< parameters.platform >>_cov_$CIRCLE_NODE_INDEX.part $PACKAGE_NAMES
29
-
29
+
30
30
jobs :
31
31
linux-tests :
32
32
docker :
33
33
- image : docker.mirror.hashicorp.services/circleci/golang:<< parameters.go-version >>
34
34
parameters :
35
35
go-version :
36
36
type : string
37
- environment :
37
+ environment :
38
38
<< : *ENVIRONMENT
39
39
parallelism : 4
40
40
steps :
85
85
path : *TEST_RESULTS_PATH
86
86
87
87
windows-tests :
88
- executor :
88
+ executor :
89
89
name : win/default
90
90
shell : bash --login -eo pipefail
91
91
environment :
@@ -96,12 +96,12 @@ jobs:
96
96
type : string
97
97
gotestsum-version :
98
98
type : string
99
- steps :
99
+ steps :
100
100
- run : git config --global core.autocrlf false
101
101
- checkout
102
102
- attach_workspace :
103
103
at : .
104
- - run :
104
+ - run :
105
105
name : Setup (remove pre-installed go)
106
106
command : |
107
107
rm -rf "c:\Go"
@@ -112,16 +112,16 @@ jobs:
112
112
- win-golang-<< parameters.go-version >>-cache-v1
113
113
- win-gomod-cache-{{ checksum "go.mod" }}-v1
114
114
115
- - run :
115
+ - run :
116
116
name : Install go version << parameters.go-version >>
117
- command : |
117
+ command : |
118
118
if [ ! -d "c:\go" ]; then
119
119
echo "Cache not found, installing new version of go"
120
120
curl --fail --location https://dl.google.com/go/go<< parameters.go-version >>.windows-amd64.zip --output go.zip
121
121
unzip go.zip -d "/c"
122
122
fi
123
123
124
- - run :
124
+ - run :
125
125
command : go mod download
126
126
127
127
- save_cache :
@@ -165,12 +165,12 @@ workflows:
165
165
context : go-getter
166
166
matrix :
167
167
parameters :
168
- go-version : ["1.14.1 "]
168
+ go-version : ["1.15.13 "]
169
169
name : linux-test-go-<< matrix.go-version >>
170
170
- windows-tests :
171
171
context : go-getter
172
172
matrix :
173
173
parameters :
174
- go-version : ["1.14.1 "]
174
+ go-version : ["1.15.13 "]
175
175
gotestsum-version : ["0.4.1"]
176
176
name : win-test-go-<< matrix.go-version >>
You can’t perform that action at this time.
0 commit comments