Skip to content

bitrise-steplib/steps-go-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go test

Step changelog

Runs Go test

Description

Runs Go test on the given packages one-by-one:

go test -v <package>

🧩 Get started

Add this step directly to your workflow in the Bitrise Workflow Editor.

You can also run this step directly with Bitrise CLI.

⚙️ Configuration

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.

🙋 Contributing

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: