From 221c2dadd290254de338dee6a580a6422029a226 Mon Sep 17 00:00:00 2001 From: Karrq Date: Mon, 19 Aug 2024 22:31:22 +0200 Subject: [PATCH] test(zk): AAVE-DI (#519) * test(zk): add aave-di * test(ci): remove aave-di * chore: rename --------- Co-authored-by: Juan Rigada <62958725+Jrigada@users.noreply.github.com> --- .github/workflows/infrastructure.yml | 38 ----------------------- crates/forge/tests/cli/ext_integration.rs | 7 +++++ 2 files changed, 7 insertions(+), 38 deletions(-) delete mode 100644 .github/workflows/infrastructure.yml diff --git a/.github/workflows/infrastructure.yml b/.github/workflows/infrastructure.yml deleted file mode 100644 index c8f9ab87b..000000000 --- a/.github/workflows/infrastructure.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Infrastructure tests - -on: - push: - branches: - - main - pull_request: - branches: - - main - -env: - CARGO_TERM_COLOR: always -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-04-28 - - - name: Build forge binary - run: cargo build --release --bin forge - - - name: Clone Aave Delivery Infrastructure - run: git clone https://github.com/Moonsong-Labs/aave-delivery-infrastructure.git --depth=1 -b ci - - - name: Run tests using built binary - run: | - cd aave-delivery-infrastructure - ../target/release/forge test --zksync --avoid-contracts "*/PayloadScripts.t.sol" diff --git a/crates/forge/tests/cli/ext_integration.rs b/crates/forge/tests/cli/ext_integration.rs index 8aadad62f..4ba6030ec 100644 --- a/crates/forge/tests/cli/ext_integration.rs +++ b/crates/forge/tests/cli/ext_integration.rs @@ -144,3 +144,10 @@ fn convex_shutdown_simulation() { .fork_block(14445961) .run(); } + +#[test] +fn test_zk_aave_di() { + ExtTester::new("Moonsong-Labs", "aave-delivery-infrastructure", "ci") + .args(["--zksync", "--avoid-contracts", "\"*/PayloadScripts.t.sol\""]) + .run() +}