Commit ad662635 authored by Ma_124's avatar Ma_124

now hiding codecov token (see codecov/codecov-bash #22 and #163)

parent 80406d81
Pipeline #46238585 (#25) passed with stages
in 2 minutes and 55 seconds
......@@ -19,7 +19,7 @@ test:
script:
- go fmt $(go list ./... | grep -v /vendor/)
- go test -race -cover -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /vendor/)
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash) | sed -E 's/token=[A-Fa-f0-9\-]+/token=[codecov token]/g' | sed -e "s/$CODECOV_TOKEN/[codecov token]/g"
compile:
stage: build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment