-
Notifications
You must be signed in to change notification settings - Fork 10
55 lines (50 loc) · 1.48 KB
/
integration.ethereum_node.yaml
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
name: Integration (ethereum_node)
on:
pull_request:
push:
branches:
- master
defaults:
run:
working-directory: ansible_collections/ethpandaops/general
jobs:
# Job for change detection
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
ethereum_node: ${{ steps.filter.outputs.ethereum_node }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
ethereum_node: roles/ethereum_node/**
# Integration test using molecule
job:
needs: changes
if: ${{ needs.changes.outputs.ethereum_node == 'true' }}
concurrency:
group: >-
${{ github.head_ref }}-ethereum-node-${{ matrix.consensus }}-${{ matrix.execution }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
consensus: [teku, prysm, lighthouse, nimbus, lodestar]
execution: [geth, nethermind, erigon, besu, ethereumjs, reth]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: ansible_collections/ethpandaops/general
- uses: ./ansible_collections/ethpandaops/general/.github/actions/setup
- name: Run molecule
working-directory: ansible_collections/ethpandaops/general/roles/ethereum_node
run: molecule test
env:
PY_COLORS: '1'
EXECUTION_CLIENT: ${{ matrix.execution }}
CONSENSUS_CLIENT: ${{ matrix.consensus }}