steps-go-test

command module
v0.0.0-...-c1cd9f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2025 License: MIT Imports: 12 Imported by: 0

README

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 required $BITRISE_GO_PACKAGES
output_dir This directory will contain the generated artifacts. required $BITRISE_DEPLOY_DIR
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:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL