mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
tests/hardware: add sleep to update_firmware and always publish artifacts
This commit is contained in:
parent
b67be7dd9e
commit
39f5b065d3
@ -20,8 +20,10 @@ class TrezorOne(Device):
|
|||||||
unofficial = False
|
unofficial = False
|
||||||
trezorctlcmd = "trezorctl firmware-update &"
|
trezorctlcmd = "trezorctl firmware-update &"
|
||||||
print("[software/trezorctl] Updating the firmware to latest...")
|
print("[software/trezorctl] Updating the firmware to latest...")
|
||||||
|
self.wait(3)
|
||||||
self._enter_bootloader()
|
self._enter_bootloader()
|
||||||
|
|
||||||
|
self.wait(3)
|
||||||
os.system(trezorctlcmd)
|
os.system(trezorctlcmd)
|
||||||
self.wait(3)
|
self.wait(3)
|
||||||
self.touch("right", "click")
|
self.touch("right", "click")
|
||||||
|
@ -335,3 +335,4 @@ hardware legacy device test:
|
|||||||
paths:
|
paths:
|
||||||
- ci/hardware_tests/video*.mp4
|
- ci/hardware_tests/video*.mp4
|
||||||
expire_in: 2 days
|
expire_in: 2 days
|
||||||
|
when: always
|
||||||
|
Loading…
Reference in New Issue
Block a user