Skip to content

Commit

Permalink
Merge branch 'main' into nish-abstraction-strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Dec 16, 2024
2 parents bdba380 + 1781234 commit 53d5d9a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
RUST_BACKTRACE: full
TEST_MAINNET_URL: http://localhost:8011
run: |
ZK_DEBUG_HISTORICAL_BLOCK_HASHES=5 cargo nextest run --package '*' --lib --test '*' --filter-expr 'test(~zk)'
ZK_DEBUG_HISTORICAL_BLOCK_HASHES=5 cargo nextest run --package '*' --lib --test '*' --filter-expr 'test(~zk) and not test(~test_zk_aave_di)'
check-ci-install:
name: CI install
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/zk-aave-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Weekly ZkSync Aave Test

on:
schedule:
# Run every Tuesday at 9:00 UTC
- cron: '0 9 * * 2'
workflow_dispatch: # Allows manual triggering

env:
TARGET_RUST_VERSION: stable
CARGO_TERM_COLOR: always

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

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ env.TARGET_RUST_VERSION }}

- name: Install cargo-nextest
uses: taiki-e/install-action@nextest

- name: Run anvil-zksync
uses: dutterbutter/[email protected]
with:
mode: fork
forkUrl: mainnet
log: info
logFilePath: anvil_zksync.log
target: x86_64-unknown-linux-gnu
releaseTag: v0.2.1

- name: Setup Git config
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "<>"
git config --global url."https://github.com/".insteadOf "[email protected]:"
- name: Run zk-aave test
env:
RUST_BACKTRACE: full
TEST_MAINNET_URL: http://localhost:8011
run: |
ZK_DEBUG_HISTORICAL_BLOCK_HASHES=5 cargo nextest run --package '*' --lib --test '*' --filter-expr 'test(~test_zk_aave_di)'

0 comments on commit 53d5d9a

Please sign in to comment.