From daf393571ef3aaf76cb7d6ce09805468a8cf780f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Claudio=20Nale?= Date: Wed, 18 Sep 2024 12:22:07 -0300 Subject: [PATCH] ci: adds deploy key to run anchor test step --- .github/workflows/ci_test.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_test.yaml b/.github/workflows/ci_test.yaml index b18342a1..e4296212 100644 --- a/.github/workflows/ci_test.yaml +++ b/.github/workflows/ci_test.yaml @@ -20,11 +20,6 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 - - name: Checkout infra contracts repo - uses: actions/checkout@v4 - with: - repository: 'xlabs/relayer-infra-contracts' - path: 'relayer-infra-contracts' - uses: actions/setup-node@v4 with: node-version: "20.17.0" @@ -60,5 +55,8 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run Solana SDK tests - run: anchor test + run: | + eval `ssh-agent -s` + ssh-add - <<< '${{ secrets.RELAYER_INFRA_CONTRACTS }}' + anchor test shell: bash \ No newline at end of file