Where should test results and coverage be written #5306
Closed
bradleyjames
started this conversation in
General
Replies: 1 comment
-
Hey! Since very early versions this is not allowed, not sure how long ago this worked. Anyways, I would recommend running tests outside of goreleaser. GoReleaser is meant to be used within a CI, not as a CI. Alternatively, if you really want to do that, you can gitignore |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In previous versions of goreleaser I wrote test output to the dist directory.
.goreleaser.yaml
Makefile
Now when I run
goreleaser build --single-target --snapshot --clean
my build is failing with:Where should I be writing the test results so that they're available for traceability while building my go binary as well as failing my build if the tests don't pass? I feel like I'm missing a basic convention that has been updated.
Beta Was this translation helpful? Give feedback.
All reactions