-
Notifications
You must be signed in to change notification settings - Fork 249
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: run integ tests against flutter beta #4030
Conversation
.github/workflows/e2e_windows.yaml
Outdated
- channel: ${{ (github.event_name == 'pull_request' && inputs.package-name != 'amplify_auth_cognito_example' && inputs.package-name != 'amplify_authenticator_example' && 'beta') || 'NONE' }} | ||
|
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'm not sure if my suggestion is correct or not but I think the value for - channel:
should be either 'beta', 'stable' or 'NONE' and so the code to be:
- channel: ${{ (github.event_name == 'pull_request' && inputs.package-name != 'amplify_auth_cognito_example' && inputs.package-name != 'amplify_authenticator_example' && 'beta') || 'NONE' }} | |
- channel: ${{ (github.event_name == 'pull_request' && inputs.package-name != 'amplify_auth_cognito_example' && inputs.package-name != 'amplify_authenticator_example') && 'beta' || 'NONE' }} |
or
- channel: ${{ (github.event_name == 'pull_request' && inputs.package-name != 'amplify_auth_cognito_example' && inputs.package-name != 'amplify_authenticator_example' && 'beta') || 'NONE' }} | |
- channel: ${{ (github.event_name == 'pull_request' && inputs.package-name != 'amplify_auth_cognito_example' && inputs.package-name != 'amplify_authenticator_example') | ternary ('beta', 'NONE') }} |
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.
In this case it should be the same thing.
(true && 'beta') || 'NONE
== 'beta'(true) && 'beta' || 'NONE'
== 'beta'(false && 'beta') || 'NONE
== 'NONE'(false) && 'beta' || 'NONE'
== 'NONE'
* chore: run integ tests on beta * chore: pass channel to install dependencies * chore: update input to use correct param * chore: update all platforms * chore: skip tests for beta on PRs * chore: run auth tests against beta only * chore: fix env vars * chore fix env usage * chore: run auth tests against stable * chore: test removing IS_AUTH_PACKAGE * chore: remove env vars for ios tests * chore: remove changes to non ios platforms * chore: fix package names * chore: update remaining platforms * chore: only run auth tests against beta
* chore: run integ tests on beta * chore: pass channel to install dependencies * chore: update input to use correct param * chore: update all platforms * chore: skip tests for beta on PRs * chore: run auth tests against beta only * chore: fix env vars * chore fix env usage * chore: run auth tests against stable * chore: test removing IS_AUTH_PACKAGE * chore: remove env vars for ios tests * chore: remove changes to non ios platforms * chore: fix package names * chore: update remaining platforms * chore: only run auth tests against beta
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.