Skip to content

e2e: please work

e2e: please work #48

Workflow file for this run

name: e2e
on:
push:
branches:
- main
pull_request:
env:
ANCHOR_VERSION: 0.30.1
NODE_VERSION: 20.11.0
RUSTC_VERSION: 1.75.0
SOLANA_VERSION: 1.18.15
jobs:
test:
name: bash sh/run_test.sh
runs-on: tilt-kube-public
steps:
- uses: actions/checkout@v4
with:name: e2e
on:
push:
branches:
- main
pull_request:
env:
ANCHOR_VERSION: 0.30.1
NODE_VERSION: 20.11.0
RUSTC_VERSION: 1.75.0
SOLANA_VERSION: 1.18.15
jobs:
test:
name: bash sh/run_test.sh
runs-on:
labels: ubuntu-latest-l
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
# - uses: actions/setup-node@v4
# with:
# node-version: ${{ env.NODE_VERSION }}
# - name: npm install --global yarn
# run: npm install --global yarn
# - name: Install Solana CLI tools
# run: sh -c "$(curl -sSfL https://release.anza.xyz/v${{ env.SOLANA_VERSION }}/install)"
# shell: bash
# - name: Update PATH
# run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
# shell: bash
# - name: Install Anchor
# run: npm i -g @coral-xyz/anchor-cli@${{ env.ANCHOR_VERSION }}
# shell: bash
- uses: evan-gray/setup-anchor@c748c7e331768b0158e558152de4053e0fde5dc9
with:
node-version: ${{ env.NODE_VERSION }}
solana-cli-version: ${{ env.SOLANA_VERSION }}
anchor-version: ${{ env.ANCHOR_VERSION }}
- name: Create keypair
run: solana-keygen new --no-bip39-passphrase
shell: bash
- name: make node_modules
run: make node_modules
- name: cd evm && make build
run: make build
working-directory: ./evm
- name: cd evm/ts-sdk && npm run build
run: npm run build
working-directory: ./evm/ts-sdk
- name: cd solana && make anchor-test-setup
run: make anchor-test-setup
working-directory: ./solana
- name: cd solana && anchor build -- --features integration-test
run: anchor build -- --features integration-test
working-directory: ./solana
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUSTC_VERSION }}
- name: cd e2e && bash sh/run_test.sh
run: bash sh/run_test.sh
working-directory: ./e2e
submodules: recursive

Check failure on line 87 in .github/workflows/e2e.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/e2e.yml

Invalid workflow file

You have an error in your yaml syntax on line 87
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: npm install --global yarn
run: npm install --global yarn
- name: Install Solana CLI tools
run: sh -c "$(curl -sSfL https://release.anza.xyz/v${{ env.SOLANA_VERSION }}/install)"
shell: bash
- name: Update PATH
run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
shell: bash
- name: Install Anchor
run: npm i -g @coral-xyz/anchor-cli@${{ env.ANCHOR_VERSION }}
shell: bash
- name: make node_modules
run: make node_modules
- name: cd evm && make build
run: make build
working-directory: ./evm
- name: cd evm/ts-sdk && npm run build
run: npm run build
working-directory: ./evm/ts-sdk
- name: cd solana && make anchor-test-setup
run: make anchor-test-setup
working-directory: ./solana
- name: cd solana && anchor build -- --features integration-test
run: anchor build -- --features integration-test
working-directory: ./solana
- name: cd e2e && bash sh/run_test.sh
run: bash sh/run_test.sh
working-directory: ./e2e