Skip to content

Commit

Permalink
ci(repo): Fix integration test runner
Browse files Browse the repository at this point in the history
Broke due to changes in aws-amplify#2068
  • Loading branch information
Dillon Nys committed Jan 10, 2023
1 parent f7a89fa commit c9ef478
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/composite_actions/install_dependencies/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ runs:
# Install aft from path, links packages and runs build runner where needed.
- name: Partial aft bootstrap
run: |
git submodule update --init
flutter pub global activate -spath packages/aft
flutter pub global run aft link
flutter pub global run melos exec -c 1 --scope="amplify_secure_storage_dart,amplify_auth_cognito_dart" -- dart run build_runner build --delete-conflicting-outputs
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
with:
persist-credentials: false
submodules: true

# Flutter requires Java 11 to build android apps with Gradle.
- uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # 3.6.0
Expand Down Expand Up @@ -76,6 +77,7 @@ jobs:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
with:
persist-credentials: false
submodules: true

- name: Install dependencies
uses: ./.github/composite_actions/install_dependencies
Expand Down Expand Up @@ -115,6 +117,7 @@ jobs:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
with:
persist-credentials: false
submodules: true

- name: Install dependencies
uses: ./.github/composite_actions/install_dependencies
Expand Down Expand Up @@ -153,6 +156,7 @@ jobs:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
with:
persist-credentials: false
submodules: true

- name: Install dependencies
uses: ./.github/composite_actions/install_dependencies
Expand Down Expand Up @@ -189,6 +193,7 @@ jobs:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
with:
persist-credentials: false
submodules: true

- name: Install dependencies
uses: ./.github/composite_actions/install_dependencies
Expand Down Expand Up @@ -225,6 +230,7 @@ jobs:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
with:
persist-credentials: false
submodules: true

- name: Change path restrictions
run: git config --global core.longpaths true
Expand Down

0 comments on commit c9ef478

Please sign in to comment.