1
0
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:
Tomas Susanka 2020-06-12 06:04:24 +00:00
parent b67be7dd9e
commit 39f5b065d3
2 changed files with 3 additions and 0 deletions

View File

@ -20,8 +20,10 @@ class TrezorOne(Device):
unofficial = False
trezorctlcmd = "trezorctl firmware-update &"
print("[software/trezorctl] Updating the firmware to latest...")
self.wait(3)
self._enter_bootloader()
self.wait(3)
os.system(trezorctlcmd)
self.wait(3)
self.touch("right", "click")

View File

@ -335,3 +335,4 @@ hardware legacy device test:
paths:
- ci/hardware_tests/video*.mp4
expire_in: 2 days
when: always