github.com/Oyster-zx/tendermint@v0.34.24-fork/.github/workflows/e2e.yml (about)

     1  name: e2e
     2  # Runs the CI end-to-end test network on all pushes to master or release branches
     3  # and every pull request, but only if any Go files have been changed.
     4  on:
     5    pull_request:
     6    push:
     7      branches:
     8        - master
     9        - release/**
    10  
    11  jobs:
    12    e2e-test:
    13      runs-on: ubuntu-latest
    14      timeout-minutes: 15
    15      steps:
    16        - uses: actions/setup-go@v3
    17          with:
    18            go-version: '1.18'
    19        - uses: actions/checkout@v3
    20        - uses: technote-space/get-diff-action@v6
    21          with:
    22            PATTERNS: |
    23              **/**.go
    24              go.mod
    25              go.sum
    26  
    27        - name: Build
    28          working-directory: test/e2e
    29          # Run two make jobs in parallel, since we can't run steps in parallel.
    30          run: make -j2 docker runner
    31          if: "env.GIT_DIFF != ''"
    32  
    33        - name: Run CI testnet
    34          working-directory: test/e2e
    35          run: ./build/runner -f networks/ci.toml
    36          if: "env.GIT_DIFF != ''"
    37  
    38        - name: Emit logs on failure
    39          if: ${{ failure() }}
    40          working-directory: test/e2e
    41          run: ./build/runner -f networks/ci.toml logs