Skip to content

Commit b67c3ea

Browse files
test(e2e): add --no-build to foundry+CDM full-deploy tests so CI doesn't need forge/cargo-contract
1 parent 6f80e4a commit b67c3ea

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

e2e/cli/deploy.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,11 @@ describe("dot deploy — foundry (requires Paseo + IPFS)", () => {
246246
"--signer", "dev",
247247
"--domain", domain,
248248
"--buildDir", absBuildDir(foundry),
249+
// --no-build skips both frontend AND contract build; the fixture
250+
// ships pre-committed artefacts under out/ so the deploy uses
251+
// them directly without spawning forge (not available on the
252+
// CI runner).
253+
"--no-build",
249254
"--contracts",
250255
"--playground",
251256
"--suri", SIGNER.suri,
@@ -269,6 +274,10 @@ describe("dot deploy — CDM (requires Paseo + IPFS)", () => {
269274
"--signer", "dev",
270275
"--domain", domain,
271276
"--buildDir", absBuildDir(rustCdm),
277+
// --no-build: the fixture ships a pre-committed .contract under
278+
// target/ so the deploy uses it directly without spawning
279+
// cargo-contract (not available on the CI runner).
280+
"--no-build",
272281
"--contracts",
273282
"--playground",
274283
"--suri", SIGNER.suri,

0 commit comments

Comments
 (0)