ci: change tests to actually run all tests

This commit is contained in:
Slug-Boi
2024-10-28 18:14:26 +01:00
parent f763c81fe2
commit aa3ec23277
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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", "./..."})
buildDir := test.Directory("/src/") buildDir := test.Directory("/src/")
+1 -1
View File
@@ -35,7 +35,7 @@ func main() {
WithExec([]string{"go", "mod", "tidy"}) WithExec([]string{"go", "mod", "tidy"})
// run application tests // run application tests
out, err := runner.WithWorkdir("/src/src_code/go_src").WithExec([]string{"go", "test"}). out, err := runner.WithWorkdir("/src/src_code/go_src").WithExec([]string{"go", "test", "./..."}).
Stderr(ctx) Stderr(ctx)
if err != nil { if err != nil {
panic(err) panic(err)