go.uber.org/cadence@v1.2.9/.buildkite/scripts/gocov.sh (about) 1 #!/bin/sh 2 3 set -ex 4 5 buildkite-agent artifact download ".build/*/coverage/unit_test_cover.out" . --step ":golang: unit-test" --build "$BUILDKITE_BUILD_ID" 6 buildkite-agent artifact download ".build/*/coverage/integ_test_sticky_off_cover.out" . --step ":golang: integration-test-sticky-off" --build "$BUILDKITE_BUILD_ID" 7 buildkite-agent artifact download ".build/*/coverage/integ_test_sticky_on_cover.out" . --step ":golang: integration-test-sticky-on" --build "$BUILDKITE_BUILD_ID" 8 buildkite-agent artifact download ".build/*/coverage/integ_test_grpc_cover.out" . --step ":golang: integration-test-grpc-adapter" --build "$BUILDKITE_BUILD_ID" 9 10 echo "download complete" 11 12 # report coverage 13 make cover_ci 14 15 # cleanup 16 rm -rf .build