Skip to content

Commit

Permalink
chore: only run auth tests against beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Nelson committed Nov 2, 2023
1 parent 9b705f0 commit b9457dc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
- 24
- 33
channel:
- "beta"
- "stable"
# Skips e2e tests against beta on PRs, except for auth/authenticator
- beta
- stable
# Skips e2e tests against beta on PRs, except for auth
# Todo(Jordan-Nelson): Update tests to skip beta for auth once flutter 3.16.0 becomes stable.
exclude:
- 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' && 'beta') || 'NONE' }}

steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # 3.5.3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
fail-fast: false
matrix:
channel:
- "beta"
- "stable"
# Skips e2e tests against beta on PRs, except for auth/authenticator
- beta
- stable
# Skips e2e tests against beta on PRs, except for auth
# Todo(Jordan-Nelson): Update tests to skip beta for auth once flutter 3.16.0 becomes stable.
exclude:
- 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' && 'beta') || 'NONE' }}

# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
fail-fast: false
matrix:
channel:
- "beta"
- "stable"
# Skips e2e tests against beta on PRs, except for auth/authenticator
- beta
- stable
# Skips e2e tests against beta on PRs, except for auth
# Todo(Jordan-Nelson): Update tests to skip beta for auth once flutter 3.16.0 becomes stable.
exclude:
- 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' && 'beta') || 'NONE' }}

# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
fail-fast: false
matrix:
channel:
- "beta"
- "stable"
# Skips e2e tests against beta on PRs, except for auth/authenticator
- beta
- stable
# Skips e2e tests against beta on PRs, except for auth
# Todo(Jordan-Nelson): Update tests to skip beta for auth once flutter 3.16.0 becomes stable.
exclude:
- 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' && 'beta') || 'NONE' }}

# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
fail-fast: false
matrix:
channel:
- "beta"
- "stable"
# Skips e2e tests against beta on PRs, except for auth/authenticator
- beta
- stable
# Skips e2e tests against beta on PRs, except for auth
# Todo(Jordan-Nelson): Update tests to skip beta for auth once flutter 3.16.0 becomes stable.
exclude:
- 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' && 'beta') || 'NONE' }}

# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
Expand Down

0 comments on commit b9457dc

Please sign in to comment.