From e7568f9e0cc067a59ab66de686d4734f9871d33b Mon Sep 17 00:00:00 2001 From: Marko Date: Tue, 6 Oct 2020 14:29:29 +0200 Subject: [PATCH] ci/e2e: avoid running job when no go files are touched (#5471) --- .github/workflows/e2e.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c08107034..574349579 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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() }}