From aa3ec2327767ce1bbc4408208ce0f59901ceb580 Mon Sep 17 00:00:00 2001 From: Slug-Boi Date: Mon, 28 Oct 2024 18:14:26 +0100 Subject: [PATCH] ci: change tests to actually run all tests --- ci/build_test_release.go | 2 +- ci/test_on_push.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/build_test_release.go b/ci/build_test_release.go index 861b2c3..47a615f 100644 --- a/ci/build_test_release.go +++ b/ci/build_test_release.go @@ -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", "./..."}) buildDir := test.Directory("/src/") diff --git a/ci/test_on_push.go b/ci/test_on_push.go index 60ae112..36bed71 100644 --- a/ci/test_on_push.go +++ b/ci/test_on_push.go @@ -35,7 +35,7 @@ func main() { WithExec([]string{"go", "mod", "tidy"}) // 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) if err != nil { panic(err)