Skip to content

Added CI to test network setup for block production #6

Added CI to test network setup for block production

Added CI to test network setup for block production #6

Workflow file for this run

name: Ethereum Testnet Setup
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
testnet:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: '1.20.8'
- name: Install JQ
run: sudo apt-get install jq
- name: Build dependencies
run: ./build-dependencies.sh
- name: Start Testnet
run: ./testnet.sh &
- name: Wait for network to be ready
run: sleep 60 # Sleep for 60 seconds
- name: Run Health check
run: ./healthcheck.sh
- name: Cleanup
if: always()
run: |
pkill -f geth
pkill -f prysm