chore: Revert temporary changes #14
Workflow file for this run
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
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) | |