From 1684d4066560e4419ee4cceb4ebed1cd1cbc2869 Mon Sep 17 00:00:00 2001 From: Gabriele Picco Date: Sat, 27 Jan 2024 11:18:47 +0100 Subject: [PATCH] :construction_worker: Add tests for CLI --- .github/workflows/run-tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b58c224..98a73fc 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -144,6 +144,12 @@ jobs: npm i -g @coral-xyz/anchor-cli@${{ env.anchor_version }} ts-mocha typescript anchor test + - name: Install the Bolt CLI, create a project and run tests + run: | + cargo install --path cli --force --locked + bolt init test-project --force + cd test-project && bolt test + - uses: actions/upload-artifact@v3 if: always() with: