44
44
hwilib/devices/__init__.py
45
45
hwilib/devices/keepkey.py
46
46
hwilib/devices/ledger.py
47
+ hwilib/devices/onekey.py
47
48
hwilib/devices/trezor.py
48
49
hwilib/errors.py
49
50
hwilib/_script.py
@@ -153,7 +154,9 @@ jobs:
153
154
- { name: 'jade', archive: 'jade', paths: 'test/work/jade/simulator' }
154
155
- { name: 'ledger', archive: 'speculos', paths: 'test/work/speculos' }
155
156
- { name: 'keepkey', archive: 'keepkey-firmware', paths: 'test/work/keepkey-firmware/bin' }
156
-
157
+ - { name: 'onekey-1', archive: 'onekey-firmware', paths: 'test/work/onekey-firmware' }
158
+ - { name: 'onekey-t', archive: 'onekey-firmware', paths: 'test/work/onekey-firmware' }
159
+
157
160
steps :
158
161
- uses : actions/checkout@v4
159
162
@@ -218,6 +221,8 @@ jobs:
218
221
- ' ledger'
219
222
- ' ledger-legacy'
220
223
- ' keepkey'
224
+ - ' onekey-1'
225
+ - ' onekey-t'
221
226
script :
222
227
- name : ' Wheel'
223
228
install : ' pip install dist/*.whl'
@@ -232,8 +237,11 @@ jobs:
232
237
env :
233
238
DEVICE : ' --${{ matrix.device }}'
234
239
235
- container : python:${{ matrix.python-version }}
236
-
240
+ container :
241
+ image : python:${{ matrix.python-version }}
242
+ volumes :
243
+ - ${{ github.workspace }}:${{ github.workspace }}
244
+ options : --workdir ${{ github.workspace }}
237
245
steps :
238
246
- uses : actions/checkout@v4
239
247
@@ -286,10 +294,15 @@ jobs:
286
294
- ' ledger'
287
295
- ' ledger-legacy'
288
296
- ' keepkey'
297
+ - ' onekey-1'
298
+ - ' onekey-t'
289
299
interface : [ 'library', 'cli', 'stdin' ]
290
300
291
- container : python:${{ matrix.python-version }}
292
-
301
+ container :
302
+ image : python:${{ matrix.python-version }}
303
+ volumes :
304
+ - ${{ github.workspace }}:${{ github.workspace }}
305
+ options : --workdir ${{ github.workspace }}
293
306
steps :
294
307
- uses : actions/checkout@v4
295
308
0 commit comments