include global env in tests [CI SKIP]

This commit is contained in:
Brad Rydzewski
2020-01-07 10:54:46 -08:00
parent adda9d7f38
commit 6ba65c68ac
2 changed files with 6 additions and 0 deletions

View File

@@ -35,6 +35,9 @@ func TestParse(t *testing.T) {
Type: "docker",
Name: "default",
Version: "1",
Environment: map[string]string{
"NODE_ENV": "development",
},
Workspace: Workspace{
Path: "/drone/src",
},

View File

@@ -24,6 +24,9 @@ workspace:
clone:
depth: 50
environment:
NODE_ENV: development
steps:
- name: build
image: golang