Skip to content

Commit a65d3bc

Browse files
committed
Skip containers E2E tests when no auth available
1 parent 7049bc0 commit a65d3bc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/wrangler/e2e/containers.dev.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ const imageSource = ["pull", "build"];
1919
// We can only really run these tests on Linux, because we build our images for linux/amd64,
2020
// and github runners don't really support container virtualization in any sane way
2121
describe
22-
.skipIf(process.platform !== "linux" && process.env.CI === "true")
22+
.skipIf(
23+
!CLOUDFLARE_ACCOUNT_ID ||
24+
(process.platform !== "linux" && process.env.CI === "true")
25+
)
2326
.each(imageSource)(
2427
"containers local dev tests: %s",
2528
{ timeout: 90_000 },

0 commit comments

Comments
 (0)