-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SD-72] Add Github Actions workflows #29
Conversation
working-directory: model_training | ||
|
||
jobs: | ||
file-changes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't require a new job for this. It should work using paths argument.
on:
pull_request:
types: [opened, ready_for_review, synchronize, reopened]
branches:
- main
- develop
paths: 'model_training/**/*.py'
push:
branches:
- main
- develop
paths: 'model_training/**/*.py'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with Shubham, the file change detection can be simplified. Otherwise gtg
This PR creates a new workflow for running tests defined in the model training folder in CI when there are any changes to python files pushed to the PR or when the PR is first opened.