-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Run quick-start guide in CI (#2413)
So that it doesn't run out of sync [again](#2412).
- Loading branch information
1 parent
34ed663
commit 5f43715
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { waitForSandbox } from '@aztec/aztec.js'; | ||
|
||
import { execSync } from 'child_process'; | ||
|
||
// Entrypoint for running the up-quick-start script on the CI | ||
describe('guides/up_quick_start', () => { | ||
it('works', async () => { | ||
await waitForSandbox(); | ||
execSync( | ||
`DEBUG="aztec:*" AZTEC_RPC_HOST=\${SANDBOX_URL:-http://localhost:8080} PATH=$PATH:../node_modules/.bin ./src/guides/up_quick_start.sh`, | ||
{ | ||
shell: '/bin/bash', | ||
stdio: 'pipe', | ||
}, | ||
); | ||
}, 90_000); | ||
}); |