mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
28 lines
603 B
Go
28 lines
603 B
Go
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
|
|
// Licensed under the GNU Affero General Public License (AGPL).
|
|
// See License-AGPL.txt in the project root for license information.
|
|
|
|
package server
|
|
|
|
import (
|
|
"context"
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/gitpod-io/gitpod/test/pkg/integration"
|
|
"sigs.k8s.io/e2e-framework/pkg/env"
|
|
)
|
|
|
|
var (
|
|
testEnv env.Environment
|
|
username string
|
|
namespace string
|
|
enterprise bool
|
|
kubeconfig string
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
username, namespace, testEnv, enterprise, kubeconfig, _ = integration.Setup(context.Background())
|
|
os.Exit(testEnv.Run(m))
|
|
}
|