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

test: support testing transpiled code #2122

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Dec 19, 2024

This commit makes it possible to execute the tests after transpilation. This should provide additional confidence that the code shipped to npm works as intended.

I think we'll also want to integrate this into the CI. Should it be for every PR, or the release job only?

This commit makes it possible to execute the tests after
transpilation. This should provide additional confidence that
the code shipped to npm works as intended.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 19, 2024
Copy link
Member

@mstruebing mstruebing left a comment

Choose a reason for hiding this comment

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

I think we should do this for every PR instead of only the release job.
That way we know for sure that the current code works and don't find out when we want to release.

@cjihrig
Copy link
Contributor Author

cjihrig commented Dec 20, 2024

Added to the PR job. It seems to work.

@brendandburns
Copy link
Contributor

/lgtm
/approve

Thanks for doing this! We should run it on all PRs, otherwise it will be really painful whenever we try to do a release and things have been broken for a while.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 20, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, cjihrig

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 20, 2024
@k8s-ci-robot k8s-ci-robot merged commit 3dd988e into kubernetes-client:release-1.x Dec 20, 2024
8 checks passed
@cjihrig cjihrig deleted the tests branch December 20, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants