From 42d9fde765a44465ec9d6a67b17bfce153634ab8 Mon Sep 17 00:00:00 2001 From: Yuru Shao Date: Fri, 4 Oct 2024 19:19:38 -0700 Subject: [PATCH] ci: temporary fix to anchor test (#228) `anchor test -- --tools-version v1.43` doesn't work in ci, see this failure https://github.com/glamsystems/glam/actions/runs/11171719747/job/31056975194 ![image](https://github.com/user-attachments/assets/0693059e-aeb7-4060-a5a9-000d9626b5ee) `anchor test` would fail but it prepares the file/folder needed, then the following `anchor test -- --tools-version v1.43` would pass --- .github/workflows/post_commit_anchor_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post_commit_anchor_test.yml b/.github/workflows/post_commit_anchor_test.yml index 6084a1dd..c7954704 100644 --- a/.github/workflows/post_commit_anchor_test.yml +++ b/.github/workflows/post_commit_anchor_test.yml @@ -57,4 +57,4 @@ jobs: run: pnpm install - name: Build - run: cd anchor ; anchor test -- --tools-version v1.43 + run: cd anchor ; anchor test || anchor test -- --tools-version v1.43