Skip to content

Commit 345c21b

Browse files
committed
Removed test splitting as there is an issue with listing packages when there is only one test.
1 parent 4c78f7d commit 345c21b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ jobs:
111111
steps: # steps that comprise the `build` job
112112
- attach_workspace:
113113
at: *workspace
114-
115114
- restore_cache: # restores saved cache if no changes are detected since last run
116115
keys:
117116
- v1-pkg-cache-{{ checksum "go.sum" }}
@@ -121,9 +120,7 @@ jobs:
121120
command: |
122121
go get -u github.com/jstemmer/go-junit-report
123122
mkdir -p test-reports
124-
PACKAGE_NAMES=$(go list ./... | circleci tests split --split-by=timings --timings-type=classname)
125-
echo "Tests: $PACKAGE_NAMES"
126-
go test -v $PACKAGE_NAMES | go-junit-report > test-reports/junit.xml
123+
go test -v ./... | go-junit-report > test-reports/junit.xml
127124
128125
- save_cache: # Store cache in the /go/pkg directory
129126
key: v1-pkg-cache-{{ checksum "go.sum" }}
@@ -197,7 +194,6 @@ jobs:
197194
- run: *install-binaries
198195
- aws-cli/install
199196
- aws-cli/setup
200-
- run: *assume-role
201197
- aws-eks/update-kubeconfig-with-authenticator:
202198
cluster-name: << parameters.cluster-name >>
203199
cluster-authentication-role-arn: << parameters.cluster-authentication-role-arn >>

0 commit comments

Comments
 (0)