File tree Expand file tree Collapse file tree 4 files changed +6
-53
lines changed Expand file tree Collapse file tree 4 files changed +6
-53
lines changed Original file line number Diff line number Diff line change 33
33
default : ' '
34
34
type : string
35
35
use_case :
36
- description : " The use case to build the application for"
36
+ description : " The use case to build the application for. Ignored if 'flags' is set "
37
37
required : false
38
38
default : ' '
39
39
type : string
72
72
submodules : recursive
73
73
token : ${{ secrets.token && secrets.token || github.token }}
74
74
75
- # To be suppressed when ledgered for manifest v2 is released
76
- - name : Clone ledgered repository
77
- uses : actions/checkout@v4
78
- with :
79
- repository : LedgerHQ/ledgered
80
- ref : y333/manage_pytest_swap_directory
81
- path : ledgered
82
- token : ${{ secrets.token && secrets.token || github.token }}
83
-
84
75
- name : Install dependencies
85
76
run : |
86
- # pip install ledgered
87
- # Install the local version of ledgered
88
- cd ledgered
89
- python -m pip install --upgrade pip
90
- python -m pip install -e .[dev]
77
+ pip install ledgered
91
78
92
79
- name : Gather application metadata, from inputs or 'ledger_app.toml'
93
80
id : fetch_metadata
Original file line number Diff line number Diff line change 19
19
type : string
20
20
pytest_directory :
21
21
description : |
22
- The directory where the Python tests are stored (a `conftest.py` file is expected there ).
22
+ The directory where the Python tests are stored (a `conftest.py` file is expected inside ).
23
23
required : false
24
24
default : ' None'
25
25
type : string
26
26
outputs :
27
27
pytest_directory :
28
28
description : |
29
- The directory where the Python tests are stored (a `conftest.py` file is expected there ).
29
+ The directory where the Python tests are stored (a `conftest.py` file is expected inside ).
30
30
value : ${{ jobs.fetch_metadata.outputs.pytest_directory }}
31
31
32
32
env :
46
46
submodules : recursive
47
47
token : ${{ secrets.token && secrets.token || github.token }}
48
48
49
- # To be suppressed when ledgered for manifest v2 is released
50
- - name : Clone ledgered repository
51
- uses : actions/checkout@v4
52
- with :
53
- repository : LedgerHQ/ledgered
54
- ref : y333/manage_pytest_swap_directory
55
- path : ledgered
56
- token : ${{ secrets.token && secrets.token || github.token }}
57
-
58
49
- name : Install dependencies
59
50
run : |
60
- # pip install ledgered
61
- # Install the local version of ledgered
62
- cd ledgered
63
- python -m pip install --upgrade pip
64
- python -m pip install -e .[dev]
51
+ pip install ledgered
65
52
66
53
- name : Gather application metadata, from inputs or 'ledger_app.toml'
67
54
id : fetch_metadata
Original file line number Diff line number Diff line change 23
23
default : ' '
24
24
type : string
25
25
use_case :
26
- description : " The use case to build the application for"
26
+ description : " The use case to build the application for. Ignored if 'flags' is set "
27
27
required : false
28
28
default : ' '
29
29
type : string
Original file line number Diff line number Diff line change @@ -177,27 +177,6 @@ jobs:
177
177
if : ${{ inputs.lib_binaries_artifact != '' }}
178
178
run : ls -R ${{ needs.call_get_test_metadata.outputs.pytest_directory }}/lib_binaries/
179
179
180
- # To be suppressed when ledgered for manifest v2 is released
181
- - name : Clone ledgered repository
182
- uses : actions/checkout@v4
183
- with :
184
- repository : LedgerHQ/ledgered
185
- ref : y333/manage_pytest_swap_directory
186
- path : ledgered
187
- fetch-tags : true
188
- fetch-depth : 0
189
- token : ${{ secrets.token && secrets.token || github.token }}
190
-
191
- - name : Install local version of ledgered
192
- run : |
193
- # Install the local version of ledgered
194
- cd ledgered
195
- python -m pip install --upgrade pip
196
- pip install -e .[dev]
197
- cd ..
198
- rm -rf ledgered/tests
199
- # #######################################################
200
-
201
180
- name : Install tests dependencies
202
181
run : |
203
182
sudo apt-get update && sudo apt-get install -y qemu-user-static tesseract-ocr libtesseract-dev
You can’t perform that action at this time.
0 commit comments