Lodestar source (#2032) #865
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 Teku and Besu | |
defaults: | |
run: | |
shell: bash | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, labeled, unlabeled] | |
branches: [main] | |
jobs: | |
test-teku-besu: | |
if: | | |
contains(github.event.pull_request.labels.*.name, 'test-teku') || | |
contains(github.event.pull_request.labels.*.name, 'test-besu') || | |
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 Teku/Besu | |
run: | | |
source ./.github/helper.sh | |
COMPOSE_FILE=teku.yml:besu.yml | |
var=COMPOSE_FILE | |
set_value_in_env | |
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
var=FEE_RECIPIENT | |
set_value_in_env | |
- name: Test the stack | |
uses: ./.github/actions/test_client_stack | |
- name: Set Teku/Besu w/ VC | |
run: | | |
source ./.github/helper.sh | |
COMPOSE_FILE=teku-cl-only.yml:teku-vc-only.yml:besu.yml | |
var=COMPOSE_FILE | |
set_value_in_env | |
- name: Test the stack | |
uses: ./.github/actions/test_client_stack |