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

chore: run integ tests against flutter beta #4030

Merged
merged 15 commits into from
Nov 3, 2023
Merged

Conversation

Jordan-Nelson
Copy link
Member

@Jordan-Nelson Jordan-Nelson commented Oct 30, 2023

Issue #, if available:

Description of changes:

  • run integ tests against flutter beta (excluding PRs)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Jordan-Nelson Jordan-Nelson marked this pull request as ready for review November 1, 2023 14:53
@Jordan-Nelson Jordan-Nelson requested a review from a team as a code owner November 1, 2023 14:53
@Jordan-Nelson Jordan-Nelson changed the title chore: run integ tests on beta chore: run integ tests against flutter beta Nov 1, 2023
Equartey
Equartey previously approved these changes Nov 2, 2023
.github/workflows/e2e_windows.yaml Outdated Show resolved Hide resolved
Comment on lines 32 to 33
- channel: ${{ (github.event_name == 'pull_request' && inputs.package-name != 'amplify_auth_cognito_example' && inputs.package-name != 'amplify_authenticator_example' && 'beta') || 'NONE' }}

Copy link
Member

@NikaHsn NikaHsn Nov 2, 2023

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:

Suggested change
- 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

Suggested change
- 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') }}

Copy link
Member Author

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'

@Jordan-Nelson Jordan-Nelson merged commit 2c694d2 into main Nov 3, 2023
65 of 69 checks passed
@Jordan-Nelson Jordan-Nelson deleted the chore/integ-beta branch November 3, 2023 19:28
NikaHsn pushed a commit that referenced this pull request Dec 5, 2023
* 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
NikaHsn pushed a commit that referenced this pull request Dec 6, 2023
* 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
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.

3 participants