mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
ci: add env var to build test workflow
This commit is contained in:
@@ -38,7 +38,7 @@ func main() {
|
|||||||
WithExec([]string{"go", "mod", "tidy"})
|
WithExec([]string{"go", "mod", "tidy"})
|
||||||
|
|
||||||
// run application tests
|
// run application tests
|
||||||
test := runner.WithWorkdir("/src/src_code/go_src").WithExec([]string{"go", "test", "./..."})
|
test := runner.WithWorkdir("/src/src_code/go_src").WithExec([]string{"go", "test", "./..."}).WithEnvVariable("CI", "true")
|
||||||
|
|
||||||
buildDir := test.Directory("/src/")
|
buildDir := test.Directory("/src/")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user