-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
chore(tests): added makefiles for testing workflow tests locally #11509
base: master
Are you sure you want to change the base?
Conversation
Hi @chahatsagarmain. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
/lgtm
Thanks!
/ok-to-test |
@anishasthana you may like to review this. |
Could you document how to launch the tests in https://github.com/kubeflow/pipelines/blob/master/test/README.md ? |
@chahatsagarmain I added one more item to the issue's acceptance criteria.
|
hello @chahatsagarmain , following up with our chat on slack, would you please make sure that this command ( related commit in parallel pr: it should point to the thanks for your collaboration in advance. cc: @hbelmiro |
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.
@chahatsagarmain please don't forget the actions.
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.
Please add the missing .github/workflows/presubmit-backend.yml
to on.pull_request.paths
.
@@ -53,4 +53,4 @@ jobs: | |||
run: pip install -r ./test/sdk-execution-tests/requirements.txt | |||
|
|||
- name: Run component YAML tests | |||
run: ./test/presubmit-component-yaml.sh | |||
run: make sdk-component-yaml |
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.
You missed the setup for this one.
.github/workflows/sdk-execution.yml
Outdated
export KFP_ENDPOINT="http://localhost:8888" | ||
export TIMEOUT_SECONDS=2700 | ||
pytest ./test/sdk-execution-tests/sdk_execution_tests.py --asyncio-task-timeout $TIMEOUT_SECONDS | ||
make sdk-execution |
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.
You missed the setup for this one.
.github/workflows/sdk-yapf.yml
Outdated
@@ -33,4 +33,4 @@ jobs: | |||
run: pip install yapf | |||
|
|||
- name: Run YAPF SDK Tests | |||
run: ./test/presubmit-yapf-sdk.sh | |||
run: make sdk-yapf |
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.
You missed the setup for this one.
Makefile
Outdated
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.
Please rename them to have test-
in the beginning of their names so it will be easier for contributors to find them.
For example, backend-test-flip-coin
-> test-backend-flip-coin
.
/ok-to-test |
Approvals successfully granted for pending runs. |
@mahdikhashan as per #11512 (comment), you need to add the new target in your PR, otherwise it won't pass the CI and can't get merged. |
/ok-to-test |
Approvals successfully granted for pending runs. |
/ok-to-test |
Approvals successfully granted for pending runs. |
/ok-to-test |
Approvals successfully granted for pending runs. |
/ok-to-test |
Approvals successfully granted for pending runs. |
@hbelmiro all test pass now but frontend test is failing across runs ( even on master branch ) |
Awesome! Thank you @chahatsagarmain. |
/ok-to-test |
Approvals successfully granted for pending runs. |
.github/workflows/e2e-test.yml
Outdated
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.
You missed the frontend tests.
- name: Clean npm cache | ||
run: npm cache clean --force | ||
|
||
- name: Install dependencies | ||
run: cd ./frontend && npm ci |
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.
Can we have a specific make setup...
target for this?
@chahatsagarmain I think after the two above comments we're good to merge it. Can you please squash your commits before we merge it? |
9dec97d
to
e64588d
Compare
bd56688
to
b9e78d3
Compare
Signed-off-by: chahatsagarmain <chahatsagar2003@gmail.com>
dd28a3c
to
3ec9555
Compare
Signed-off-by: chahat sagar <109112505+chahatsagarmain@users.noreply.github.com>
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.
/lgtm
cc @HumairAK
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hbelmiro The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description of your changes:
Issue #11494
Added makefiles for tests and setup each test locally .
Checklist: