Runs Go test
Description
Runs Go test on the given packages one-by-one:
go test -v <package>
Add this step directly to your workflow in the Bitrise Workflow Editor.
You can also run this step directly with Bitrise CLI.
Inputs
Key | Description | Flags | Default |
---|---|---|---|
packages |
Newline separated list of Go packages, to run the Go test command against. Example: github.com/my/step github.com/bitrise/step/tool |
$BITRISE_GO_PACKAGES |
Outputs
Environment Variable | Description |
---|---|
GO_CODE_COVERAGE_REPORT_PATH |
Path to the code coverage report file, which contains each package's code coverage report. |
We welcome pull requests and issues against this repository.
For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.
Learn more about developing steps: