Adding paths-ignore to the client build workflows to ignore manual test changes
This commit is contained in:
parent
cc5b288221
commit
008d83cc0b
6
.github/workflows/client-build.yml
vendored
6
.github/workflows/client-build.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
11
.github/workflows/test-build-docker-image.yml
vendored
11
.github/workflows/test-build-docker-image.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user