Skip to content

Commit

Permalink
Attempt to fix coverage test for unpackaged code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Hatton committed Mar 14, 2017
1 parent 68faa8c commit 2471d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/golang
- go test -race -v ./... | go-junit-report > $CIRCLE_TEST_REPORTS/golang/junit.xml
- go list ./... | grep -v vendor | awk -F/ '{print $4}' | xargs -I {} go test -v -cover -race -coverprofile=$CIRCLE_ARTIFACTS/{}.out ./{}
- go test -v -cover -race -coverprofile=$CIRCLE_ARTIFACTS/$CIRCLE_PROJECT_REPONAME.out .
- cd $CIRCLE_ARTIFACTS && sed -i '1d' *.out
- |
echo "mode: atomic" > $CIRCLE_ARTIFACTS/overall-coverage.result
Expand Down

0 comments on commit 2471d32

Please sign in to comment.