Skip to content

Commit

Permalink
rewrite coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
chinelo-obitube authored and chinelo-obitube committed Jul 21, 2024
1 parent 2b1dd36 commit a620c9e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,11 @@ jobs:
sudo apt-get install -y golang-go golang-glide
sudo mkdir -p /tmp/go/src/github.com/codeclimate
sudo git clone -b 0.10.3 https://github.com/codeclimate/test-reporter /tmp/go/src/github.com/codeclimate/test-reporter
printf '#!/bin/bash\n' > test/cc-test-reporter
printf 'go run /tmp/go/src/github.com/codeclimate/test-reporter/main.go $@\n' >> test/cc-test-reporter
chmod +x test/cc-test-reporter
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
./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/coverage/codeclimate.GITHUB_JOB_NAME.json
- uses: actions/upload-artifact@v2
with:
name: coverage-${{ matrix.ruby }}
Expand Down

0 comments on commit a620c9e

Please sign in to comment.