Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adds aave-helpers test suite to ci #415

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/helpers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Helpers tests

on:
push:
branches:
- dev
pull_request:
branches:
- dev

env:
CARGO_TERM_COLOR: always
RPC_MAINNET: ${{ secrets.RPC_MAINNET }}
RPC_OPTIMISM: ${{ secrets.RPC_OPTIMISM }}
RPC_AVALANCHE: ${{ secrets.RPC_AVALANCHE }}
RPC_POLYGON: ${{ secrets.RPC_POLYGON }}
RPC_ARBITRUM: ${{ secrets.RPC_ARBITRUM }}
RPC_FANTOM: ${{ secrets.RPC_FANTOM }}
RPC_HARMONY: ${{ secrets.RPC_HARMONY }}
RPC_METIS: ${{ secrets.RPC_METIS }}
RPC_BASE: ${{ secrets.RPC_BASE }}
RPC_BNB: ${{ secrets.RPC_BNB }}
RPC_SEPOLIA: ${{ secrets.RPC_SEPOLIA }}
RPC_GNOSIS: ${{ secrets.RPC_GNOSIS }}
RPC_SCROLL: ${{ secrets.RPC_SCROLL }}
RPC_ZKEVM: ${{ secrets.RPC_ZKEVM }}


jobs:
test:
runs-on: ubuntu-22.04-github-hosted-16core

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.sha }}

- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-02-06

- name: Build forge binary
run: cargo build --release --bin forge

- name: Clone aave helpers
run: git clone https://github.com/bgd-labs/aave-helpers.git --depth=1 -b feat/zksync

- name: Run tests using built binary
run: |
cd aave-helpers
../target/release/forge test --zksync

Loading