mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
ci: change tests to actually run all tests
This commit is contained in:
@@ -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/")
|
||||
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user