From 008d83cc0bc11bf625c2f8c03324772a31b88e79 Mon Sep 17 00:00:00 2001 From: Arpit Mohan Date: Fri, 1 Oct 2021 11:40:43 +0530 Subject: [PATCH] Adding paths-ignore to the client build workflows to ignore manual test changes --- .github/workflows/client-build.yml | 6 ++++-- .github/workflows/test-build-docker-image.yml | 11 ++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml index 396b2be215..bb6d42c009 100644 --- a/.github/workflows/client-build.yml +++ b/.github/workflows/client-build.yml @@ -9,13 +9,15 @@ on: # Only trigger if files have changed in this specific path paths: - "app/client/**" - - "!app/client/cypress/manual_TestSuite/**" + paths-ignore: + - "app/client/cypress/manual_TestSuite/**" pull_request: branches: [release, master] paths: - "app/client/**" - - "!app/client/cypress/manual_TestSuite/**" + paths-ignore: + - "app/client/cypress/manual_TestSuite/**" # Change the working directory for all the jobs in this workflow defaults: diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml index 70a11133ed..2ad1ba48eb 100644 --- a/.github/workflows/test-build-docker-image.yml +++ b/.github/workflows/test-build-docker-image.yml @@ -11,7 +11,8 @@ on: - "app/client/**" - "app/server/**" - "app/rts/**" - - "!app/client/cypress/manual_TestSuite/**" + paths-ignore: + - "app/client/cypress/manual_TestSuite/**" # trigger for pushes to release and master push: @@ -20,7 +21,8 @@ on: - "app/client/**" - "app/server/**" - "app/rts/**" - - "!app/client/cypress/manual_TestSuite/**" + paths-ignore: + - "app/client/cypress/manual_TestSuite/**" jobs: buildClient: @@ -128,8 +130,8 @@ jobs: buildServer: defaults: - run: - working-directory: app/server + run: + working-directory: app/server runs-on: ubuntu-latest # Only run this workflow for internally triggered events if: | @@ -157,7 +159,6 @@ jobs: with: fetch-depth: 0 - # Setup Java - name: Set up JDK 1.11 uses: actions/setup-java@v1