From 8ca2943c2d7b88bfaae137f5d90ae4985c9b0705 Mon Sep 17 00:00:00 2001 From: chinelo-obitube Date: Sun, 21 Jul 2024 03:05:33 +0100 Subject: [PATCH] rewrite coverage --- test/test-coverage.sh | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/test/test-coverage.sh b/test/test-coverage.sh index e0cde4bb6b..f7e767d098 100755 --- a/test/test-coverage.sh +++ b/test/test-coverage.sh @@ -1,21 +1,3 @@ -# #!/bin/bash - -# apt-get install -y golang-go golang-glide -# printf '#!/bin/bash\ngo run /tmp/go/src/github.com/codeclimate/test-reporter/main.go $@\n' > test/cc-test-reporter && chmod +x test/cc-test-reporter -# export GOPATH=/tmp/go -# git config --global --add safe.directory /app -# mkdir -p /tmp/go/src/github.com/codeclimate -# git clone -b 0.10.3 https://github.com/codeclimate/test-reporter /tmp/go/src/github.com/codeclimate/test-reporter -# cd /tmp/go/src/github.com/codeclimate/test-reporter -# go mod init github.com/codeclimate/test-reporter -# go mod tidy -# apt-get install -y awscli -# cd - -# ./test/cc-test-reporter format-coverage -t simplecov --output ../coverage/codeclimate.$GITHUB_JOB_NAME.json ../coverage/.resultset.json -# aws s3 cp ../coverage/codeclimate.$GITHUB_JOB_NAME.json s3://check-api-travis/codeclimate/$GITHUB_REPO_SLUG/$GITHUB_BUILD_NUMBER/codeclimate.$GITHUB_JOB_NAME.json -# echo 'Combining and uploading coverage...' - - #!/bin/bash apt-get install -y golang-go golang-glide