Skip to content

Commit

Permalink
Improved circleci file
Browse files Browse the repository at this point in the history
Signed-off-by: Sotirios Mantziaris <smantziaris@gmail.com>
  • Loading branch information
mantzas committed Nov 17, 2019
1 parent 14c28b4 commit f7ecef0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .circleci/config.yml
Expand Up @@ -21,12 +21,8 @@ jobs:
- run:
name: Running with test coverage and send to codecov
command: |
export CODECOV_TOKEN="b10270e6-8609-4707-88f1-57c904378989"
go get -u github.com/jstemmer/go-junit-report
mkdir -p $TEST_RESULTS
trap "go-junit-report <${TEST_RESULTS}/go-test.out > ${TEST_RESULTS}/go-test-report.xml" EXIT
# go test ./... -cover -race -mod=vendor -coverprofile=coverage.txt -covermode=atomic | tee ${TEST_RESULTS}/go-test.out
gotestsum --junitfile ${TEST_RESULTS}/gotestsum-report.xml -- ./... -cover -race -mod=vendor -coverprofile=coverage.txt -covermode=atomic
export CODECOV_TOKEN="b10270e6-8609-4707-88f1-57c904378989"
bash <(curl -s https://codecov.io/bash)
- store_artifacts:
Expand Down

0 comments on commit f7ecef0

Please sign in to comment.