Browse Source

ci/e2e: avoid running job when no go files are touched (#5471)

pull/5561/head
Marko 4 years ago
committed by Erik Grinaker
parent
commit
e7568f9e0c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      .github/workflows/e2e.yml

+ 2
- 0
.github/workflows/e2e.yml View File

@ -27,10 +27,12 @@ jobs:
working-directory: test/e2e working-directory: test/e2e
# Run two make jobs in parallel, since we can't run steps in parallel. # Run two make jobs in parallel, since we can't run steps in parallel.
run: make -j2 docker runner run: make -j2 docker runner
if: "env.GIT_DIFF != ''"
- name: Run CI testnet - name: Run CI testnet
working-directory: test/e2e working-directory: test/e2e
run: sudo ./build/runner -f networks/ci.toml run: sudo ./build/runner -f networks/ci.toml
if: "env.GIT_DIFF != ''"
- name: Emit logs on failure - name: Emit logs on failure
if: ${{ failure() }} if: ${{ failure() }}


Loading…
Cancel
Save