@@ -2,44 +2,15 @@ name: Callable Swap Functional tests
2
2
3
3
on :
4
4
workflow_call :
5
- workflow_dispatch :
6
5
inputs :
7
6
branch_for_app :
8
7
required : false
9
8
default : ' develop'
10
9
type : string
11
- repo_for_app :
12
- required : false
13
- default : ' LedgerHQ/app-boilerplate'
14
- type : string
15
- is_app_compiled :
16
- required : false
17
- default : false
18
- type : boolean
19
10
branch_for_exchange :
20
11
required : false
21
12
default : ' develop'
22
13
type : string
23
- repo_for_exchange :
24
- required : false
25
- default : ' LedgerHQ/app-exchange'
26
- type : string
27
- is_exchange_compiled :
28
- required : false
29
- default : false
30
- type : boolean
31
- branch_for_ethereum :
32
- required : false
33
- default : ' develop'
34
- type : string
35
- repo_for_ethereum :
36
- required : false
37
- default : ' LedgerHQ/app-ethereum'
38
- type : string
39
- is_ethereum_compiled :
40
- required : false
41
- default : false
42
- type : boolean
43
14
regenerate_snapshots :
44
15
required : false
45
16
default : false
@@ -48,40 +19,37 @@ jobs:
48
19
build_application :
49
20
name : Build application using the reusable workflow
50
21
uses : LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@y333/manage_several_pytest_directories
51
- if : ${{ inputs.is_app_compiled == false }}
52
22
with :
53
- app_repository : ${{ inputs.repo_for_app }}
23
+ app_repository : ' LedgerHQ/app-boilerplate '
54
24
app_branch_name : ' ${{ inputs.branch_for_app }}'
55
- upload_app_binaries_artifact : " compiled_app_binaries "
25
+ upload_app_binaries_artifact : " compiled_app_binaries_bis "
56
26
57
27
build_exchange :
58
28
name : Build Exchange app using the reusable workflow
59
29
uses : LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@y333/manage_several_pytest_directories
60
- if : ${{ inputs.is_exchange_compiled == false }}
61
30
with :
62
- app_repository : ${{ inputs.repo_for_exchange }}
31
+ app_repository : ' LedgerHQ/app-exchange '
63
32
app_branch_name : ' ${{ inputs.branch_for_exchange }}'
64
33
upload_app_binaries_artifact : " compiled_exchange_binaries"
65
- flags : ' TESTING=1 TEST_PUBLIC_KEY=1 TRUSTED_NAME_TEST_KEY=1 DEBUG=1 '
34
+ use_case : ' dbg_full_replay '
66
35
67
36
build_ethereum :
68
37
name : Build Ethereum app using the reusable workflow
69
38
uses : LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@y333/manage_several_pytest_directories
70
- if : ${{ inputs.is_ethereum_compiled == false }}
71
39
with :
72
- app_repository : ${{ inputs.repo_for_ethereum }}
73
- app_branch_name : ' ${{ inputs.branch_for_ethereum }} '
40
+ app_repository : ' LedgerHQ/app-ethereum '
41
+ app_branch_name : ' develop '
74
42
upload_app_binaries_artifact : " compiled_ethereum_binaries"
75
43
upload_as_lib_artifact : " ethereum_"
76
- flags : ' COIN=ethereum CHAIN=ethereum CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1 TRUSTED_NAME_TEST_KEY=1 '
44
+ use_case : ' use_test_keys '
77
45
78
46
# This job runs the swap functional tests using the reusable workflow
79
47
ragger_tests_swap :
80
48
name : Run swap ragger tests using the reusable workflow
81
49
needs : [build_application, build_exchange, build_ethereum]
82
50
uses : LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@y333/manage_several_pytest_directories
83
51
with :
84
- download_app_binaries_artifact : " compiled_app_binaries "
52
+ download_app_binaries_artifact : " compiled_app_binaries_bis "
85
53
additional_app_binaries_artifact : " compiled_exchange_binaries"
86
54
additional_app_binaries_artifact_dir : " tests/swap/main_app/exchange/build"
87
55
lib_binaries_artifact : " compiled_ethereum_binaries"
0 commit comments