Skip to content

feat: re-fork cometbft-bera onto the v0.40.x line #274

feat: re-fork cometbft-bera onto the v0.40.x line

feat: re-fork cometbft-bera onto the v0.40.x line #274

Workflow file for this run

name: e2e
# Runs the CI end-to-end test network on all pushes to main or release branches
# and every pull request, but only if any Go files have been changed.
on:
workflow_dispatch: # allow running workflow manually
pull_request:
merge_group:
push:
branches:
- main
- v0.3[478].x
- v[1-9][0-9]?.x
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
e2e-test:
# Run parallel jobs for `ci.toml`, `libp2p-ci.toml`, and regression manifests
strategy:
fail-fast: false
matrix:
group: ['networks/ci', 'networks/libp2p-ci', 'networks_regressions/*']
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- id: filter
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
with:
filters: |
code:
- '**/*.go'
- 'Makefile'
- 'go.*'
- run: echo "GO_VERSION=$(cat .github/workflows/go-version.env | grep GO_VERSION | cut -d '=' -f2)" >> $GITHUB_ENV
if: steps.filter.outputs.code == 'true'
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
if: steps.filter.outputs.code == 'true'
with:
go-version: ${{ env.GO_VERSION }}
- name: Build
if: steps.filter.outputs.code == 'true'
working-directory: test/e2e
run: make -j2 docker runner
- name: Run "${{ matrix.group }}"" testnet
if: steps.filter.outputs.code == 'true'
working-directory: test/e2e
run: ./run-multiple.sh ${{ matrix.group }}.toml