Skip to content

feat: add jerigon test workflow #2

feat: add jerigon test workflow

feat: add jerigon test workflow #2

Workflow file for this run

name: Jerigon tests
on:
push:
branches: [develop, main]
pull_request:
branches:
- "**"
workflow_dispatch:
branches:
- "**"
env:
CARGO_TERM_COLOR: always
jobs:
test_jerigon_input_proving:
name: Test proof generation with jerigon input
runs-on: ubuntu-latest
timeout-minutes: 30
# if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Checkout test-jerigon-network sources
uses: actions/checkout@v4
with:
repository: 0xPolygonZero/jerigon-test-network
path: test-jerigon-network
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Set up rust cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run jerigon test network with docker compose
uses: hoverkraft-tech/[email protected]
with:
compose-file: "./docker-compose.yml"
cwd: "./test-jerigon-network"
up-flags: "-d"
down-flags: "--volumes"
- name: Test jerigon network
run: |
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id":83}' localhost:8545
env:
RUST_LOG: info