mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fixed env test assuming github token is set
This commit is contained in:
parent
858b4d1318
commit
e1b1bf28af
2
pipeline/env/env_test.go
vendored
2
pipeline/env/env_test.go
vendored
@ -15,7 +15,7 @@ func TestDescription(t *testing.T) {
|
||||
|
||||
func TestValidEnv(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
|
||||
assert.NoError(os.Setenv("GITHUB_TOKEN", "asdf"))
|
||||
var ctx = &context.Context{
|
||||
Config: config.Project{},
|
||||
Validate: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user