-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add aave test suite as a cronjob (#779)
* add aave as a cronjob * Change time to test * TEST * Adjust timing
- Loading branch information
Showing
2 changed files
with
53 additions
and
1 deletion.
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
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,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)' |