30
30
build_exchange :
31
31
name : Build Exchange app using the reusable workflow
32
32
if : ${{ inputs.exchange_build_artifact == '' }}
33
- uses : LedgerHQ/ledger-app-workflows/ .github/workflows/reusable_build.yml@v1
33
+ uses : ./ .github/workflows/reusable_build.yml
34
34
with :
35
35
app_repository : ' LedgerHQ/app-exchange'
36
36
app_branch_name : ' develop'
@@ -40,12 +40,11 @@ jobs:
40
40
build_ethereum :
41
41
name : Build Ethereum app using the reusable workflow
42
42
if : ${{ inputs.ethereum_build_artifact == '' }}
43
- uses : LedgerHQ/ledger-app-workflows/ .github/workflows/reusable_build.yml@v1
43
+ uses : ./ .github/workflows/reusable_build.yml
44
44
with :
45
45
app_repository : ' LedgerHQ/app-ethereum'
46
46
app_branch_name : ' develop'
47
47
upload_app_binaries_artifact : " app_ethereum_binaries"
48
- upload_as_lib_artifact : " ethereum_"
49
48
use_case : ' use_test_keys'
50
49
51
50
get_artifacts_names :
@@ -90,27 +89,31 @@ jobs:
90
89
outputs :
91
90
swap_test_dir : ${{ steps.get_swap_test_dir.outputs.swap_test_dir }}
92
91
main_app_dir : ${{ steps.get_swap_test_dir.outputs.main_app_dir }}
92
+ lib_app_dir : ${{ steps.get_swap_test_dir.outputs.lib_app_dir }}
93
93
steps :
94
94
- name : Get swap test directory
95
95
id : get_swap_test_dir
96
96
run : |
97
97
echo "swap_test_dir=${{ inputs.swap_test_dir }}" >> "$GITHUB_OUTPUT"
98
- echo "main_app_dir=${{ inputs.swap_test_dir }}/main_app/exchange/build" >> "$GITHUB_OUTPUT"
98
+ echo "main_app_dir=${{ inputs.swap_test_dir }}/.test_dependencies/main/app-exchange/build" >> "$GITHUB_OUTPUT"
99
+ echo "lib_app_dir=${{ inputs.swap_test_dir }}/.test_dependencies/libraries/app-ethereum/build" >> "$GITHUB_OUTPUT"
99
100
- name : Show swap test directory
100
101
run : |
101
102
echo "Swap test directory: ${{ steps.get_swap_test_dir.outputs.swap_test_dir }}"
102
103
echo "Main app directory: ${{ steps.get_swap_test_dir.outputs.main_app_dir }}"
104
+ echo "Lib app directory: ${{ steps.get_swap_test_dir.outputs.lib_app_dir }}"
103
105
104
106
105
107
# This job runs the swap functional tests using the reusable workflow
106
108
ragger_tests_swap :
107
109
name : Run swap ragger tests using the reusable workflow
108
110
needs : [get_artifacts_names, get_dir_names]
109
- uses : LedgerHQ/ledger-app-workflows/ .github/workflows/reusable_ragger_tests.yml@v1
111
+ uses : ./ .github/workflows/reusable_ragger_tests.yml
110
112
with :
111
113
download_app_binaries_artifact : ${{ inputs.app_build_artifact }}
112
114
additional_app_binaries_artifact : ${{ needs.get_artifacts_names.outputs.exchange_build_artifact }}
113
115
additional_app_binaries_artifact_dir : ${{ needs.get_dir_names.outputs.main_app_dir }}
114
116
lib_binaries_artifact : ${{ needs.get_artifacts_names.outputs.ethereum_build_artifact }}
117
+ lib_binaries_artifact_dir : ${{ needs.get_dir_names.outputs.lib_app_dir }}
115
118
test_dir : ${{ needs.get_dir_names.outputs.swap_test_dir }}
116
119
regenerate_snapshots : ${{ inputs.regenerate_snapshots }}
0 commit comments