Run unwind on push #2
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: Unwinds tests | |
on: | |
pull_request: | |
branches: | |
- zkevm | |
- zkevm-2.60 | |
push: | |
branches: | |
- zkevm | |
- zkevm-2.60 | |
workflow_dispatch: | |
jobs: | |
fixing-unwinds-tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout cdk-erigon | |
uses: actions/checkout@v4 | |
with: | |
path: cdk-erigon | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Install dependencies on Linux | |
if: runner.os == 'Linux' | |
run: sudo apt update && sudo apt install build-essential | |
- name: Build | |
run: | | |
cd ./cdk-erigon | |
make cdk-erigon | |
- name: Prepare configs | |
run: | | |
cd ./cdk-erigon | |
cp ./zk/tests/unwinds/config/dynamic-integration8.yaml ./ | |
cp ./zk/tests/unwinds/config/dynamic-integration-allocs.json ./ | |
cp ./zk/tests/unwinds/config/dynamic-integration-chainspec.json ./ | |
cp ./zk/tests/unwinds/config/dynamic-integration-conf.json ./ | |
- name: Prepare data stream | |
run: | | |
cd ./cdk-erigon/zk/tests/unwinds/datastream | |
tar -xzf ./datastream-net8-upto-11318-101.zip ./ | |
- name: Run tests | |
run: | | |
cd ./cdk-erigon | |
chmod +x ./zk/tests/unwinds/unwind.sh | |
./zk/tests/unwinds/unwind.sh | |