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
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:

View File

@ -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