Skip to content

Commit 435545b

Browse files
authored
circleci: better error messages (#652)
1 parent 895da57 commit 435545b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.circleci/config.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,16 @@ jobs:
107107
108108
- run:
109109
name: Vendor github.com/googleapis/gnostic for k8s.io/client-go
110-
# This step checks out k8s.io/client-go and vendors
110+
# This step checks out k8s.io/client-go and vendors
111111
# github.com/googleapis/gnostic to fix a breaking change made in
112112
# gnostic. See kubernetes/client-go#741
113113
# TODO(knusbaum): remove this once the breaking change is resolved or propagated
114114
command: |
115115
git clone --branch v0.17.3 https://github.com/kubernetes/client-go $GOPATH/src/k8s.io/client-go
116116
git clone --branch v0.17.3 https://github.com/kubernetes/apimachinery $GOPATH/src/k8s.io/apimachinery
117117
git clone --branch v0.4.0 https://github.com/googleapis/gnostic $GOPATH/src/k8s.io/client-go/vendor/github.com/googleapis/gnostic
118-
119-
# CircleCI recommends caches be ~500MB. We split the cache into
118+
119+
# CircleCI recommends caches be ~500MB. We split the cache into
120120
# two parts to achieve this.
121121
# We specifically do not cache gopkg.in to avoid caching Datadog
122122
# We can cache other packages here or wait to move to go modules
@@ -206,4 +206,9 @@ jobs:
206206
- run:
207207
name: Testing
208208
command: |
209-
INTEGRATION=1 go test -v -race `go list ./...`
209+
mkdir /tmp/test-results
210+
INTEGRATION=1 gotestsum --junitfile /tmp/test-results/result.xml -- -race `go list ./...`
211+
- store_artifacts:
212+
path: /tmp/test-results
213+
- store_test_results:
214+
path: /tmp/test-results

0 commit comments

Comments
 (0)