Steps: go test -race -coverprofile=coverage.txt -covermode=atomic ./... bash <(curl -s https://codecov.io/bash) To have these set-up on GitHub so that they are run on each push or pull request, check the push.yml file.