Skip to content

Commit

Permalink
ci: adds deploy key to run anchor test step
Browse files Browse the repository at this point in the history
  • Loading branch information
scnale committed Sep 18, 2024
1 parent 740042a commit c43ee5c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

0 comments on commit c43ee5c

Please sign in to comment.