Upgrades golangci-lint from v1 to v2. Automated by Linear issue IT-144. Co-authored-by: CI <ci@pulumi.com>
31 lines
515 B
Go
31 lines
515 B
Go
//go:build java || all
|
|
// +build java all
|
|
|
|
package examples
|
|
|
|
import (
|
|
"os"
|
|
"path"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
|
)
|
|
|
|
func TestJavaExample(t *testing.T) {
|
|
t.Skip("not working yet")
|
|
|
|
cwd, err := os.Getwd()
|
|
require.NoError(t, err)
|
|
|
|
test := integration.ProgramTestOptions{
|
|
Dir: path.Join(cwd, "java"),
|
|
Secrets: map[string]string{
|
|
"dockerHubPassword": os.Getenv("DOCKER_HUB_PASSWORD"),
|
|
},
|
|
}
|
|
|
|
integration.ProgramTest(t, &test)
|
|
}
|