Test Prysm and Geth #382
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Prysm and Geth | |
run-name: Test Prysm and Geth | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, labeled, unlabeled] | |
branches: [main] | |
jobs: | |
test-prysm-geth: | |
if: | | |
contains(github.event.pull_request.labels.*.name, 'test-prysm') || | |
contains(github.event.pull_request.labels.*.name, 'test-geth') || | |
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 Prysm/Geth | |
run: | | |
source ./.github/helper.sh | |
COMPOSE_FILE=prysm.yml:geth.yml | |
var=COMPOSE_FILE | |
set_value_in_env | |
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
var=FEE_RECIPIENT | |
set_value_in_env | |
- name: Start Prysm/Geth | |
run: | | |
./ethd up | |
- name: Test Prysm CL | |
run: | | |
./.github/check-service.sh consensus | |
- name: Test Prysm VC | |
run: | | |
./.github/check-service.sh validator | |
- name: Test Geth | |
run: | | |
./.github/check-service.sh execution | |
- name: Set Prysm/Geth w/ VC | |
run: | | |
source ./.github/helper.sh | |
COMPOSE_FILE=prysm-cl-only.yml:prysm-vc-only.yml:geth.yml | |
var=COMPOSE_FILE | |
set_value_in_env | |
- name: Start Prysm/Geth | |
run: | | |
./ethd up | |
- name: Test Prysm CL | |
run: | | |
./.github/check-service.sh consensus | |
- name: Test Prysm VC | |
run: | | |
./.github/check-service.sh validator | |
- name: Test Geth | |
run: | | |
./.github/check-service.sh execution |