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 19, 2023
1 parent 83a69d8 commit 133710b
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/tests/mev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"mev_type": "mock",
"launch_additional_services": false,
"mev_params": {
"mev_boost_image": "mev-boost"
},
"network_params": {
"seconds_per_slot": 3
}
}
32 changes: 32 additions & 0 deletions .github/workflows/local-testnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: E2E

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 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: Checkout
uses: actions/checkout@v4

- name: Build the Docker image
run: docker build . --file Dockerfile --platform linux/amd64 --tag mev-boost

- name: Run Kurtosis testnet
run: |
kurtosis run github.com/kurtosis-tech/ethereum-package "$(cat ./.github/tests/mev.json)"

0 comments on commit 133710b

Please sign in to comment.