Commit Graph

152 Commits

Author SHA1 Message Date
Ioan Bizău
063ddf3743 chore: start Tropic model from multicore tests
[no changelog]
2025-10-14 11:29:38 +03:00
Ioan Bizău
56d803f1f0 chore(tests): start Tropic model in CI tests
[no changelog]
2025-10-14 11:29:38 +03:00
Roman Zeyde
39da228df7 ci(core): show slowest click tests
[no changelog]
2025-10-14 06:44:37 +02:00
Roman Zeyde
732cdc4242 ci(core): reduce coverage threshold for T3B1
[no changelog]
2025-10-09 18:39:01 +02:00
Roman Zeyde
dc3ee82974 ci(core): always upload coverage report
[no changelog]
2025-10-09 18:39:01 +02:00
Martin Milata
0307fdbfc4 ci: enable build-docker.sh for T3W1 2025-10-06 13:01:48 +02:00
Roman Zeyde
60c20c4d8e ci(core): reduce click test timeout to 40m
[no changelog]
2025-09-24 16:57:26 +03:00
matejcik
8a75794d15 build: migrate to uv, drop poetry everywhere
except for HWI and ts-tvl that are using it locally
2025-09-08 16:27:44 +02:00
Ondřej Vejpustek
68ecf16195 chore(core): update ts-tvl to 2.2
[no changelog]
2025-08-19 17:27:33 +02:00
Roman Zeyde
ccb728b0cd ci(core): disable core_flash_size_compare: job
Since currently it uses GitLab.

[no changelog]
2025-08-18 19:10:32 +03:00
Ondřej Vejpustek
2549ab13c7 ci: build prodtest emulator
[no changelog]
2025-08-07 14:21:04 +02:00
Martin Milata
07d30e85d1 ci: do not include protocol version in artifact names 2025-08-05 21:34:36 +02:00
Roman Zeyde
1757a662c4 ci(core): use make test_emu_sanity for checking non-frozen emulators
[no changelog]
2025-08-01 13:00:38 +03:00
Roman Zeyde
98f580a3ee ci(core): correct 'asan' definition for THP-based unittests jobs
[no changelog]
2025-07-31 22:41:41 +03:00
Roman Zeyde
a1be4180e7 ci: reuse .github/actions/environment
[no changelog]
2025-07-31 22:02:11 +03:00
M1nd3r
34726a32cc chore(ci): update CI workflows
Co-authored-by: romanz <9900+romanz@users.noreply.github.com>
2025-07-31 20:29:05 +02:00
Roman Zeyde
f6e81d7663 ci(core): print less test durations
[no changelog]
2025-07-27 17:34:43 +03:00
Martin Milata
3ca4e9566d fix(tests): headless sanity check 2025-07-24 14:43:05 +02:00
Ioan Bizău
9e4d99bf0d fix(tests): use Python 3.12 for ts-tvl
[no changelog]

Co-authored-by: Martin Milata <martin@martinmilata.cz>
2025-07-24 14:43:05 +02:00
Martin Milata
f48b44ba44 ci: save UI diff urls also to step summary 2025-07-21 23:56:36 +02:00
Lukas Bielesch
bb94843038 chore(ci): make fw build less verbose
[no changelog]
2025-07-21 15:51:01 +02:00
obrusvit
c291abe2ab ci(core): skip UI comment job on external PRs
- the comment action fails when run on a PR created from a fork
- see
9fa92b4fea/README.md

[no changelog]
2025-07-18 13:42:04 +02:00
Roman Zeyde
1c00741756 ci(core): generate per-language UI diffs
[no changelog]
2025-07-11 19:10:38 +03:00
Roman Zeyde
80b48793e5 ci(core): replace tio with socat-based helper script
Unfortunately, `tio` 3 doesn't work well in HW tests CI.

[no changelog]
2025-06-30 18:44:17 +03:00
Roman Zeyde
4aadfa1f4f ci(core): make sure emulators are not failing on startup
[no changelog]
2025-06-30 18:43:42 +03:00
Roman Zeyde
1223ecc32b ci(core): build T2B1 firmware on pull requests
[no changelog]
2025-06-26 07:40:22 +03:00
Roman Zeyde
e49072214e test(core): fix master diff URLs
[no changelog]
2025-06-16 16:44:42 +03:00
Roman Zeyde
5d3118f1ec ci: improve PULL_COMMENT YAML formatting
[no changelog]
2025-06-09 16:21:09 +02:00
Roman Zeyde
dbee0c615a ci(core+legacy): re-add main UI diff reports
Use a single HTML file to aggregate per-model/test reports.
Also, change a bit the final HTML report directory structure,
to allow each jobs to upload its results concurrently.

[no changelog]
2025-06-05 19:24:44 +03:00
Roman Zeyde
a4d3a60f99 ci(core): fix width inconsistency of GitHub comment icon
[no changelog]
2025-06-05 19:20:26 +03:00
Roman Zeyde
e31bc3c9eb ci(legacy): remove legacy_ui_main CI job
[no changelog]
2025-06-05 19:20:26 +03:00
Roman Zeyde
da97b919e7 ci(core): remove core_ui_main job
[no changelog]
2025-06-05 19:20:26 +03:00
Roman Zeyde
86629cf696 ci(core): disable ASAN builds on nightly CI runs
Following #5143.

[no changelog]
2025-06-05 16:51:41 +03:00
Martin Milata
11c2f31499 ci: build PYOPT=1 emulators nightly
[no changelog]
2025-06-05 15:29:27 +02:00
Roman Zeyde
24aa5ddcfd ci(core): disable authenticity tests on HW CI
T2B1 device seems to have a locked bootloader so #5087 is not enough.
https://github.com/trezor/trezor-firmware/actions/runs/15368486126/job/43244403997#step:8:19

[no changelog]
2025-06-02 18:03:20 +03:00
Roman Zeyde
79c40e4d60 ci(core): reduce core_ui_main disk usage
Also, compare all models.

[no changelog]
2025-06-02 17:40:06 +03:00
Roman Zeyde
97442ebd45 test(core): xfail test_authenticate_device on unlocked bootloader
[no changelog]
2025-05-30 19:41:23 +03:00
Lukas Bielesch
5fa68d15a3 chore(automation): enable T3W1 CI jobs and tests
- eckhart tests
- add Eckhart screen buttons
- rename passphrase click test file + fixtures
- eckhart click tests
- eckhart persistance tests
- eckhart device tests
- skip tests for unimplemented features
2025-05-30 17:38:16 +02:00
Martin Milata
6da8e04660 ci: release-emu.yml: manual dispatch inputs 2025-05-27 11:33:40 +02:00
Martin Milata
1f697ace50 ci: release-emu.yml: fix model handling 2025-05-27 11:33:40 +02:00
Roman Zeyde
5ed97dfebc ci(core): enable retries only for HW tests
[no changelog]
2025-05-23 13:18:11 +03:00
Roman Zeyde
2a7f79e023 ci(core): increase minimal coverage threshold to 85% 2025-05-16 13:25:31 +03:00
Roman Zeyde
717429bedb ci(core): enable coverage report for T3B1
[no changelog]
2025-05-15 19:52:33 +03:00
Roman Zeyde
65c34774a1 ci(core): run click tests in parallel
[no changelog]
2025-05-13 11:57:06 +03:00
Roman Zeyde
c857b61208 ci(core): update hardware CI tests
Tested on T2T1:

```
$ pytest -v tests/device_tests/ -k lots --durations 0
...
==================================================================== slowest durations ====================================================================
309.73s call     tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs
61.37s call     tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs
5.73s setup    tests/device_tests/bitcoin/test_signtx.py::test_lots_of_change
5.03s call     tests/device_tests/bitcoin/test_signtx.py::test_lots_of_change
4.10s setup    tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs
4.09s setup    tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs
...
===================================================== 3 passed, 1588 deselected in 390.63s (0:06:30) ======================================================
```

```
$ pytest -v tests/device_tests/ -k recovery --durations 0
...
==================================================================== slowest durations ====================================================================
191.90s call     tests/device_tests/reset_recovery/test_reset_recovery_slip39_advanced.py::test_reset_recovery
116.65s call     tests/device_tests/reset_recovery/test_reset_recovery_slip39_basic.py::test_reset_recovery
24.95s call     tests/device_tests/reset_recovery/test_reset_backup.py::test_skip_backup_manual[BackupType.Slip39_Advanced_Extendable-backup_flow_slip39_advanced]
24.74s call     tests/device_tests/reset_recovery/test_reset_backup.py::test_skip_backup_msg[BackupType.Slip39_Advanced_Extendable-backup_flow_slip39_advanced]
23.49s call     tests/device_tests/reset_recovery/test_reset_slip39_advanced.py::test_reset_device_slip39_advanced
18.58s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced_dryrun.py::test_2of3_dryrun
17.13s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_noabort
16.74s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_extra_share_entered
14.05s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret_click_info_button[shares0-c2d2e26ad06023c60145f150abe2dd2b]
13.84s call     tests/device_tests/reset_recovery/test_reset_slip39_basic.py::test_reset_entropy_check
13.13s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret[shares0-c2d2e26ad06023c60145f150abe2dd2b]
12.74s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced_dryrun.py::test_2of3_invalid_seed_dryrun
9.42s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret_click_info_button[shares1-c41d5cf80fed71a008a3a0ae0458ff0c6d621b1a5522bccbfedbcfad87005c06]
9.13s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret[shares1-c41d5cf80fed71a008a3a0ae0458ff0c6d621b1a5522bccbfedbcfad87005c06]
8.48s call     tests/device_tests/reset_recovery/test_reset_slip39_basic.py::test_reset_device_slip39_basic_256
7.91s call     tests/device_tests/reset_recovery/test_reset_recovery_bip39.py::test_reset_recovery
7.68s call     tests/device_tests/reset_recovery/test_recovery_slip39_basic.py::test_noabort
...
========================================= 61 passed, 15 skipped, 1515 deselected, 1 warning in 885.84s (0:14:45) ==========================================
```

[no changelog]
2025-05-07 20:08:37 +03:00
Roman Zeyde
49d25cbe6f fix(vendor): don't access GitHub artifacts from cflite.yml job
[no changelog]
2025-05-05 18:42:43 +03:00
Roman Zeyde
53225569c8 fix(tools): use tio --no-reconnect instead of --no-autoconnect
It was renamed in https://github.com/tio/tio/releases/tag/v3.0.

[no changelog]
2025-05-02 17:18:09 +03:00
vdovhanych
08a918a008 ci: fix generate token job 2025-04-29 10:16:00 +02:00
vdovhanych
8ccd03da13 ci: fix trezor-common sync env variable name 2025-04-29 09:58:52 +02:00
vdovhanych
f1f5990068 ci: replace user tokens with github app integration 2025-04-29 09:21:03 +02:00