add github action for integration tests

This commit is contained in:
Tim Möhlmann
2023-04-25 18:11:04 +03:00
parent a22b58f1c0
commit 79084089ea
20 changed files with 196 additions and 31 deletions

View File

@@ -1,18 +1,17 @@
//go:build integration
package integration
import (
"context"
"strings"
"testing"
"time"
)
const commandLine = `start-from-init --masterkey MasterkeyNeedsToHave32Characters --tlsMode disabled --config ../../e2e/config/localhost/zitadel.yaml --steps ../../e2e/config/localhost/zitadel.yaml`
func TestNewTester(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
s := NewTester(ctx, strings.Split(commandLine, " "))
s := NewTester(ctx)
defer s.Done()
}