adding config options to eth_testnet_config #738
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: Integration | |
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: | |
roles: ${{ steps.filter.outputs.changes }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
filters: | | |
blockscout: roles/blockscout/** | |
bootstrap: roles/bootstrap/** | |
mev_boost: roles/mev_boost/** | |
mev_rs: roles/mev_rs/** | |
# Integration test using molecule | |
job: | |
needs: changes | |
concurrency: | |
group: ${{ github.head_ref }}-${{ matrix.role }} | |
cancel-in-progress: true | |
if: ${{ needs.changes.outputs.roles != '' && toJson(fromJson(needs.changes.outputs.roles)) != '[]' }} | |
strategy: | |
matrix: | |
role: ${{ fromJSON(needs.changes.outputs.roles) }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: ansible_collections/ethpandaops/general | |
- uses: ./ansible_collections/ethpandaops/general/.github/actions/setup | |
- name: Run molecule | |
working-directory: ansible_collections/ethpandaops/general/roles/${{ matrix.role }} | |
run: molecule test | |
env: | |
PY_COLORS: '1' |