Skip to content

Commit

Permalink
Add kutorsis workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
avalonche committed Oct 18, 2023
1 parent 83a69d8 commit 421573b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/tests/mev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"mev_type": "mock",
"launch_additional_services": false,
"network_params": {
"seconds_per_slot": 3
}
}
34 changes: 34 additions & 0 deletions .github/workflows/local-testnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Kurtosis Local Testnet

on:
push:
branches:
- develop
pull_request:
branches:
- develop

jobs:
run-local-testnet:
name: Run kurtosis local testnet
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.20

- name: Checkout sources
uses: actions/checkout@v2

- name: Set up Kurtosis
run: |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install kurtosis-cli
kurtosis analytics disable
kurtosis engine restart
- name: Run Kurtosis testnet
run: |
kurtosis run github.com/kurtosis-tech/ethereum-package "$(cat ./.github/tests/mev.json)"

0 comments on commit 421573b

Please sign in to comment.