Adding paths-ignore to the client build workflows to ignore manual test changes

This commit is contained in:
Arpit Mohan 2021-10-01 11:40:43 +05:30
parent cc5b288221
commit 008d83cc0b
2 changed files with 10 additions and 7 deletions

View File

@ -9,13 +9,15 @@ on:
# Only trigger if files have changed in this specific path # Only trigger if files have changed in this specific path
paths: paths:
- "app/client/**" - "app/client/**"
- "!app/client/cypress/manual_TestSuite/**" paths-ignore:
- "app/client/cypress/manual_TestSuite/**"
pull_request: pull_request:
branches: [release, master] branches: [release, master]
paths: paths:
- "app/client/**" - "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 # Change the working directory for all the jobs in this workflow
defaults: defaults:

View File

@ -11,7 +11,8 @@ on:
- "app/client/**" - "app/client/**"
- "app/server/**" - "app/server/**"
- "app/rts/**" - "app/rts/**"
- "!app/client/cypress/manual_TestSuite/**" paths-ignore:
- "app/client/cypress/manual_TestSuite/**"
# trigger for pushes to release and master # trigger for pushes to release and master
push: push:
@ -20,7 +21,8 @@ on:
- "app/client/**" - "app/client/**"
- "app/server/**" - "app/server/**"
- "app/rts/**" - "app/rts/**"
- "!app/client/cypress/manual_TestSuite/**" paths-ignore:
- "app/client/cypress/manual_TestSuite/**"
jobs: jobs:
buildClient: buildClient:
@ -128,8 +130,8 @@ jobs:
buildServer: buildServer:
defaults: defaults:
run: run:
working-directory: app/server working-directory: app/server
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Only run this workflow for internally triggered events # Only run this workflow for internally triggered events
if: | if: |
@ -157,7 +159,6 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
# Setup Java # Setup Java
- name: Set up JDK 1.11 - name: Set up JDK 1.11
uses: actions/setup-java@v1 uses: actions/setup-java@v1