Skip to content
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

[Feature] Add python client test to action #993

Merged
merged 2 commits into from
Mar 29, 2023

Conversation

jasoonn
Copy link
Contributor

@jasoonn jasoonn commented Mar 28, 2023

Why are these changes needed?

Testing python client library in CI.

Why create a k8s cluster in the test?

Though currently, the test does not interact with the k8s cluster, the init function in kuberay_cluster_api will load kube config, which will report errors if there is no k8s server.

Related issue number

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

- name: Set up Docker
uses: docker-practice/actions-setup-docker@master

- name: Install Kind
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind sharing more details about why we need to create a k8s cluster here? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though currently, the test does not interact with the k8s cluster, the init function in kuberay_cluster_api will load kube config, which will report errors if there is no k8s server. I also added the above explanation in the description above.

Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kevin85421
Copy link
Member

The CI failure is not related to this PR.

@kevin85421 kevin85421 merged commit cd9b2e8 into ray-project:master Mar 29, 2023
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants