-
Notifications
You must be signed in to change notification settings - Fork 41
bridge-sdk: Skip Minikube Dependent Tests When Unavailable
#80
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
base: main
Are you sure you want to change the base?
Conversation
| }); | ||
| } | ||
|
|
||
| export const isMinikube = process.env.MINIKUBE_IP != undefined; |
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 already have isHermeticTest that you can use?
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.
fixed in b901376, renamed for consistency.
|
|
||
| export const isMinikube = process.env.MINIKUBE_IP != undefined; | ||
| export const testMinikubeOnly = !isMinikube ? it.skip : it; | ||
| export const testMinikubeAndLocalOnly = process.env.GITHUB_ACTIONS || !isMinikube ? it.skip : it; |
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.
Is this different from the default (where it runs regardless)?
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.
wasn't sure if you ran github actions with minikube enabled internally, so wanted to check for it anyway to avoid undefined behaviour - can remove if unneeded.
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.
Yeah we run GHA with minikube so I think this can be removed.
|
@carsonp6 @coreymartin tagging you on this as well! |
…tic{AndLocal}Only`
|
Hey @mhrheaume, missed this review - responded/fixed comments. |
Follow-on to b4d56fb.