add dotnet publish to test of serverless
MODIFY
misc/test/examples_test.go
misc/test/examples_test.go
@@ -259,6 +259,7 @@ func TestAccAwsPyS3Folder(t *testing.T) {
}
func TestAccAwsPyServerlessRaw(t *testing.T) {
+ integration.RunCommand(t, "dotnet publish", nil, path.Join(getCwd(t), "..", "..", "aws-py-serverless-raw", "app"), nil)
test := getAWSBase(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "..", "..", "aws-py-serverless-raw"),
@@ -503,6 +504,7 @@ func TestAccAwsTsS3LambdaCopyZip(t *testing.T) {
}
func TestAccAwsTsServerlessRaw(t *testing.T) {
+ integration.RunCommand(t, "dotnet publish", nil, path.Join(getCwd(t), "..", "..", "aws-py-serverless-raw", "app"), nil)
test := getAWSBase(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "..", "..", "aws-ts-serverless-raw"),
@@ -512,7 +514,6 @@ func TestAccAwsTsServerlessRaw(t *testing.T) {
})
},
})
-
integration.ProgramTest(t, &test)
}

add dotnet publish to test of serverless