1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00

test: skip publish

This commit is contained in:
Carlos Alexandro Becker 2018-10-20 14:15:27 -03:00 committed by Carlos Alexandro Becker
parent 76b18fb554
commit 24c6401341

View File

@ -22,5 +22,8 @@ func TestPublishDisable(t *testing.T) {
func TestPublish(t *testing.T) {
var ctx = context.New(config.Project{})
ctx.Config.Release.Disable = true
for i := range ctx.Config.Dockers {
ctx.Config.Dockers[i].SkipPush = true
}
require.NoError(t, Pipe{}.Run(ctx))
}