chore: Skip tests in server build if no changes in server files for ok-to-test command#24616
Conversation
|
@rajatagrawal - can we do oktotest & test this out? |
I am not sure how to do it, because it can only run if it is merged to |
@rajatagrawal I think you can update the |
4cbdeaf to
1e615c9
Compare
|
I have checked out the base code now using |
@rajatagrawal You can hardcode the PR number. |
b26263b to
f02943c
Compare
|
I have tested the changes on These are the outputs of those test runs:
|
@rajatagrawal - Both these links are telling me Invalid workflow file? |
|
@Aishwarya-U-R Can you please check Attempt #1 in both those links ? I think those links have two attempts. The ones that I have tested on are Attempt #1. |
|
Attempt #2 is showing as missing workflow files because I moved the changes from test docker image yml file to ok-to-test yml file for the final commit. |
|
@Aishwarya-U-R can you please merge it also ? This PR doesn't need a CI test run. |
|
@rajatagrawal - why is server build moved from parallel step with client build, please have this check alongside while having it at same level as client build like current: |
Aishwarya-U-R
left a comment
There was a problem hiding this comment.
@rajatagrawal - Have server-build parallel to client build as now.
|
This diagram is from test docker build.yml which was only used for testing the workflow. The changes are actually moved It is nonetheless parallel in test docker build yml as well, because in the workflow runs in this concerned screenshot, the server workflow ran after I think that the diagram is showing that server has a dependency on client because all jobs i.e |
|
Ah ok, Thanks much @sarojsarab for explaining me the same. |

Fixes #24700
These changes will allow the CI to skip tests if there are no changes in server folder when using ok-to-test command. This will save CI minutes