forked from cometbft/cometbft
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (40 loc) · 1.12 KB
/
e2e.yml
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
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
jobs:
e2e-test:
# Run two parallel jobs: for `ci.toml`, and for the regression manifests
strategy:
fail-fast: false
matrix:
group: ['networks/ci', 'networks_regressions/*']
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Build
working-directory: test/e2e
run: make -j2 docker runner
if: "env.GIT_DIFF != ''"
- name: Run "${{ matrix.group }}"" testnet
working-directory: test/e2e
run: ./run-multiple.sh ${{ matrix.group }}.toml
if: "env.GIT_DIFF != ''"