mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
test: skip publish
This commit is contained in:
parent
76b18fb554
commit
24c6401341
@ -22,5 +22,8 @@ func TestPublishDisable(t *testing.T) {
|
|||||||
func TestPublish(t *testing.T) {
|
func TestPublish(t *testing.T) {
|
||||||
var ctx = context.New(config.Project{})
|
var ctx = context.New(config.Project{})
|
||||||
ctx.Config.Release.Disable = true
|
ctx.Config.Release.Disable = true
|
||||||
|
for i := range ctx.Config.Dockers {
|
||||||
|
ctx.Config.Dockers[i].SkipPush = true
|
||||||
|
}
|
||||||
require.NoError(t, Pipe{}.Run(ctx))
|
require.NoError(t, Pipe{}.Run(ctx))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user