-
Notifications
You must be signed in to change notification settings - Fork 235
59 lines (57 loc) · 1.9 KB
/
test-lighthouse-reth.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Test Lighthouse and Reth
run-name: Test Lighthouse and Reth
on:
push:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
branches: [main]
jobs:
test-lighthouse-reth:
if: |
contains(github.event.pull_request.labels.*.name, 'test-lighthouse') ||
contains(github.event.pull_request.labels.*.name, 'test-reth') ||
contains(github.event.pull_request.labels.*.name, 'test-all') ||
github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
- name: Create .env file
run: cp default.env .env
- name: Set Lighthouse/Reth
run: |
source ./.github/helper.sh
COMPOSE_FILE=lighthouse.yml:reth.yml
var=COMPOSE_FILE
set_value_in_env
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86
var=FEE_RECIPIENT
set_value_in_env
- name: Start Lighthouse/Reth
run: ./ethd up
- name: Pause for 30 seconds
run: sleep 30
- name: Test Reth
run: ./.github/check-service.sh execution
- name: Test Lighthouse CL
run: ./.github/check-service.sh consensus
- name: Test Lighthouse VC
run: ./.github/check-service.sh validator
- name: Set Lighthouse/Reth w/ VC
run: |
source ./.github/helper.sh
COMPOSE_FILE=lighthouse-cl-only.yml:lighthouse-vc-only.yml:reth.yml
var=COMPOSE_FILE
set_value_in_env
- name: Start Lighthouse/Reth
run: ./ethd up
- name: Pause for 30 seconds
run: sleep 30
- name: Test Reth
run: ./.github/check-service.sh execution
- name: Test Lighthouse CL
run: ./.github/check-service.sh consensus
- name: Test Lighthouse VC
run: ./.github/check-service.sh validator