ci: add env var to build test workflow

This commit is contained in:
Slug-Boi
2024-10-28 18:52:11 +01:00
parent 63fd1f13f9
commit c546326412
+1 -1
View File
@@ -38,7 +38,7 @@ func main() {
WithExec([]string{"go", "mod", "tidy"})
// 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/")