|
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'
|
@@ -286,10 +291,15 @@ jobs:
|
286 | 291 | - 'ledger'
|
287 | 292 | - 'ledger-legacy'
|
288 | 293 | - 'keepkey'
|
| 294 | + - 'onekey-1' |
| 295 | + - 'onekey-t' |
289 | 296 | interface: [ 'library', 'cli', 'stdin' ]
|
290 | 297 |
|
291 |
| - container: python:${{ matrix.python-version }} |
292 |
| - |
| 298 | + container: |
| 299 | + image: python:${{ matrix.python-version }} |
| 300 | + volumes: |
| 301 | + - ${{ github.workspace }}:${{ github.workspace }} |
| 302 | + options: --workdir ${{ github.workspace }} |
293 | 303 | steps:
|
294 | 304 | - uses: actions/checkout@v4
|
295 | 305 |
|
|
0 commit comments