-
Notifications
You must be signed in to change notification settings - Fork 224
58 lines (56 loc) · 1.67 KB
/
test-lodestar-erigon.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
name: Test Lodestar and Erigon
run-name: Test Lodestar and Erigon
on:
push:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
branches: [main]
jobs:
test-lodestar-erigon:
if: |
contains(github.event.pull_request.labels.*.name, 'test-lodestar') ||
contains(github.event.pull_request.labels.*.name, 'test-erigon') ||
contains(github.event.pull_request.labels.*.name, 'test-all') ||
github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create .env file
run: |
cp default.env .env
- name: Set Lodestar/Erigon
run: |
source ./.github/helper.sh
COMPOSE_FILE=lodestar.yml:erigon.yml
var=COMPOSE_FILE
set_value_in_env
- name: Start Lodestar/Erigon
run: |
./ethd up
- name: Test Lodestar CL
run: |
./.github/check-service.sh consensus
- name: Test Lodestar VC
run: |
./.github/check-service.sh validator
- name: Test Geth
run: |
./.github/check-service.sh execution
- name: Set Lodestar/Erigon w/ VC
run: |
source ./.github/helper.sh
COMPOSE_FILE=lodestar-cl-only.yml:lodestar-vc-only.yml:erigon.yml
var=COMPOSE_FILE
set_value_in_env
- name: Start Lodestar/Erigon
run: |
./ethd up
- name: Test Lodestar CL
run: |
./.github/check-service.sh consensus
- name: Test Lodestar VC
run: |
./.github/check-service.sh validator
- name: Test Erigon
run: |
./.github/check-service.sh execution