|
|
@ -75,7 +75,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
# This loop writes go test results to <reportname>.xml per go package |
|
|
|
# This loop writes go test results to <reportname>.xml per go package |
|
|
|
- run: | |
|
|
|
- run: | |
|
|
|
for pkg in $(go list ./... | circleci tests split --split-by=timings --timings-type=classname | tr '\n' ' '); do |
|
|
|
for pkg in $(go list ./... | grep -v github.com/hashicorp/consul/agent/proxyprocess |circleci tests split --split-by=timings --timings-type=classname | tr '\n' ' '); do |
|
|
|
reportname=$(echo $pkg | cut -d '/' -f3- | sed "s#/#_#g") |
|
|
|
reportname=$(echo $pkg | cut -d '/' -f3- | sed "s#/#_#g") |
|
|
|
gotestsum --format=short-verbose --junitfile $TEST_RESULTS_DIR/$reportname.xml -- -tags=$GOTAGS $pkg |
|
|
|
gotestsum --format=short-verbose --junitfile $TEST_RESULTS_DIR/$reportname.xml -- -tags=$GOTAGS $pkg |
|
|
|
done |
|
|
|
done |
|
|
|