Skip to content

Commit 6d46e14

Browse files
committed
update workflow
1 parent 8a83373 commit 6d46e14

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/e2e_migration.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
scenario:
130130
- { name: migration_1-restore, setup_type: standard }
131131
- { name: migration_2-migration, setup_type: standard }
132-
- { name: migration_3-with-passphrase, setup_type: standard }
132+
- { name: migration_3-with-passphrase, setup_type: passphrase }
133133
- { name: migration_4-with-sweep, setup_type: sweep }
134134
with:
135135
e2e_branch: ${{ needs.e2e-branch.outputs.branch }}
@@ -150,10 +150,10 @@ jobs:
150150
- v1.1.4
151151
- v1.1.3
152152
scenario:
153-
- { name: migration_1-restore, grep: "@migration_1" }
154-
- { name: migration_2-migration, grep: "@migration_2" }
155-
- { name: migration_3-with-passphrase, grep: "@migration_3" }
156-
- { name: migration_4-with-sweep, grep: "@migration_4" }
153+
- { name: migration_1-restore, setup_type: standard, grep: "@migration_1" }
154+
- { name: migration_2-migration, setup_type: standard, grep: "@migration_2" }
155+
- { name: migration_3-with-passphrase, setup_type: passphrase, grep: "@migration_3" }
156+
- { name: migration_4-with-sweep, setup_type: sweep, grep: "@migration_4" }
157157

158158
name: e2e-tests - ${{ matrix.rn_version }} - ${{ matrix.scenario.name }}
159159

@@ -189,11 +189,10 @@ jobs:
189189
working-directory: bitkit-e2e-tests
190190
run: |
191191
set -euo pipefail
192-
if [[ "${{ matrix.scenario.name }}" == "migration_4-with-sweep" ]]; then
193-
env_file="artifacts/migration_setup_sweep.env"
194-
else
195-
env_file="artifacts/migration_setup_standard.env"
196-
fi
192+
env_file="artifacts/migration_setup_${{ matrix.scenario.setup_type }}.env"
193+
echo "=== Env file contents ==="
194+
cat "$env_file"
195+
echo "========================="
197196
cat "$env_file" >> "$GITHUB_ENV"
198197
199198
- name: Download RN app for migration

0 commit comments

Comments
 (0)