Skip to content

Commit

Permalink
Adding paths-ignore to the client build workflows to ignore manual te…
Browse files Browse the repository at this point in the history
…st changes
  • Loading branch information
mohanarpit committed Oct 1, 2021
1 parent cc5b288 commit 008d83c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/client-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/test-build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -157,7 +159,6 @@ jobs:
with:
fetch-depth: 0


# Setup Java
- name: Set up JDK 1.11
uses: actions/setup-java@v1
Expand Down

0 comments on commit 008d83c

Please sign in to comment.