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

This commit is contained in:
Marko
2020-10-06 14:29:29 +02:00
committed by Erik Grinaker
parent 3a4a6ae9ac
commit e7568f9e0c

View File

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