go plugin: Add flag to run tests during build phase
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### What needs to get done
Add support to the go plugin for a `enable-checks` build attribute. When enabled, the final build command executed by the plugin should be `go test` with the proper arguments to run unit tests on the build artifact. Add a test case for the go plugin to confirm the new final command is added. Update the build attributes section of the go plugin documentation to describe the new parameter.
### Why it needs to get done
Users should be able to run unit tests as part of their build without needing to specify an `override-build` script.
Evaluation history
No evaluation history available.