From 23cefbe88fd1015b0550d957bfc09771e0f06c7b Mon Sep 17 00:00:00 2001 From: mpoke Date: Fri, 8 Dec 2023 18:59:07 +0100 Subject: [PATCH] add condition for e2e CIs --- .github/workflows/test.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35d1f05c64..c7c85e44cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -181,7 +181,9 @@ jobs: **/Makefile Makefile - name: e2e tests - run: make test-e2e-short + if: env.GIT_DIFF + run: | + make test-e2e-short test-cometmock: runs-on: ubuntu-latest @@ -209,7 +211,9 @@ jobs: **/Makefile Makefile - name: cometmock tests - run: make test-e2e-short-cometmock + if: env.GIT_DIFF + run: | + make test-e2e-short-cometmock test-trace: runs-on: ubuntu-latest @@ -237,4 +241,6 @@ jobs: **/Makefile Makefile - name: trace-e2e tests - run: make test-trace + if: env.GIT_DIFF + run: | + run: make test-trace