From 8cb46fa40d7160ddc0f2f3b661b943c786f1a50c Mon Sep 17 00:00:00 2001 From: Herman Obst Demaestri <70286869+HermanObst@users.noreply.github.com> Date: Wed, 5 Jun 2024 09:18:15 -0300 Subject: [PATCH] chore: adds aave-governance-v3 test suite to CI (#413) --- .github/workflows/governance.yml | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/governance.yml diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml new file mode 100644 index 000000000..f8cf0ce7c --- /dev/null +++ b/.github/workflows/governance.yml @@ -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