Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DomBlack committed Feb 2, 2024
1 parent 2f4f22d commit 4236247
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions e2e-tests/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
"encr.dev/cli/daemon/run/infra"
"encr.dev/cli/daemon/secret"
. "encr.dev/internal/optracker"
"encr.dev/pkg/appfile"
"encr.dev/pkg/builder"
"encr.dev/pkg/builder/builderimpl"
"encr.dev/pkg/cueutil"
Expand Down Expand Up @@ -219,9 +220,11 @@ func testBuild(t testing.TB, appRoot string, env []string) (*builder.ParseResult

vcsRevision := vcs.GetRevision(app.Root())
buildInfo := builder.BuildInfo{
BuildTags: builder.LocalBuildTags,
CgoEnabled: true,
StaticLink: false,
BuildTags: builder.LocalBuildTags,
BuildConfig: appfile.BuildCfg{
CgoEnabled: true,
StaticLink: false,
},
Debug: false,
GOOS: runtime.GOOS,
GOARCH: runtime.GOARCH,
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/testdata/echo/encore.app
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://encore.dev/schemas/appfile.schema.json",
"build": {
integrations: {
open_telemetry: true
"integrations": {
"open_telemetry": true
}
}
}

0 comments on commit 4236247

Please sign in to comment.