4444 hwilib/devices/__init__.py
4545 hwilib/devices/keepkey.py
4646 hwilib/devices/ledger.py
47+ hwilib/devices/onekey.py
4748 hwilib/devices/trezor.py
4849 hwilib/errors.py
4950 hwilib/_script.py
@@ -153,7 +154,9 @@ jobs:
153154 - { name: 'jade', archive: 'jade', paths: 'test/work/jade/simulator' }
154155 - { name: 'ledger', archive: 'speculos', paths: 'test/work/speculos' }
155156 - { 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+
157160 steps :
158161 - uses : actions/checkout@v4
159162
@@ -218,6 +221,8 @@ jobs:
218221 - ' ledger'
219222 - ' ledger-legacy'
220223 - ' keepkey'
224+ - ' onekey-1'
225+ - ' onekey-t'
221226 script :
222227 - name : ' Wheel'
223228 install : ' pip install dist/*.whl'
@@ -232,8 +237,11 @@ jobs:
232237 env :
233238 DEVICE : ' --${{ matrix.device }}'
234239
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 }}
237245 steps :
238246 - uses : actions/checkout@v4
239247
@@ -286,10 +294,15 @@ jobs:
286294 - ' ledger'
287295 - ' ledger-legacy'
288296 - ' keepkey'
297+ - ' onekey-1'
298+ - ' onekey-t'
289299 interface : [ 'library', 'cli', 'stdin' ]
290300
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 }}
293306 steps :
294307 - uses : actions/checkout@v4
295308
0 commit comments