Skip to content

chore: Cleanup the new test suite #11

chore: Cleanup the new test suite

chore: Cleanup the new test suite #11

name: new-ci-test
on:
schedule:
- cron: "*/15 * * * *"
push:
branches: [chain_agnostic_tests]
workflow_dispatch:
jobs:
integration:
runs-on: pierre-l
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: build beerus
run: cargo build -p beerus-cli --release
- name: start beerus RPC on MAINNET
env:
BEERUS_VERSION: "ci"
NETWORK: "mainnet"
ETH_EXECUTION_RPC: ${{ secrets.ETH_EXECUTION_RPC_MAINNET }}
STARKNET_RPC: ${{ secrets.STARKNET_RPC_0_6_0_MAINNET }}
run: ./target/release/beerus &
- name: run integration test on MAINNET
run: cargo test --package beerus-rpc --features integration-tests
- name: stop RPC
run: kill $(lsof -t -i:3030)