Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Add back cc-test-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
louy committed Sep 6, 2020
1 parent 34066d1 commit 5bb601b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ jobs:
- name: Setup Code Climate test-reporter
run: |
# download test reporter as a static binary
# curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
# chmod +x ./cc-test-reporter
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
- name: Build
run: |
go build -v
- name: Run acceptance tests
run: |
# ./cc-test-reporter before-build
./cc-test-reporter before-build
TF_ACC=1 go test -coverprofile c.out -v ./...
# ./cc-test-reporter after-build --exit-code $?
./cc-test-reporter after-build --exit-code $? --prefix github.com/${GITHUB_REPOSITORY}/
env:
CC_TEST_REPORTER_ID: 52729bbe50d1d3f27774761a3ae11ce34b3a14fbbdfdce903f8736eac52f30c5
- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 5bb601b

Please sign in to comment.