-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adds aave-governance-v3 test suite to CI (#413)
- Loading branch information
1 parent
32b43da
commit 8cb46fa
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Governance tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
pull_request: | ||
branches: | ||
- dev | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RPC_MAINNET: ${{ secrets.RPC_MAINNET }} | ||
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 governance v3 | ||
run: git clone https://github.com/Moonsong-Labs/aave-governance-v3.git --depth=1 | ||
|
||
- name: Run tests using built binary | ||
run: | | ||
cd aave-governance-v3 | ||
../target/release/forge test --zksync |