1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00
Commit Graph

109 Commits

Author SHA1 Message Date
grdddj
9ca9720f22 feat(tests): add test for supporting older python versions 2022-05-30 14:41:32 +02:00
Martin Milata
168389a7b3 ci: silence syntax warnings 2022-05-16 13:54:43 +02:00
Martin Milata
c153ffe4b3 ci: ui2 device tests 2022-04-07 17:58:41 +02:00
Martin Milata
cae87b9065 ci: fix glob for changed files 2022-04-05 16:55:49 +02:00
Martin Milata
d1978c062d test(storage): remove timeouts for test_random and test_random_upgrade 2022-04-05 16:55:49 +02:00
Martin Milata
8965ad68f2 ci: fix core unit test asan 2022-04-05 13:03:23 +02:00
Martin Milata
c8dda3242b ci: build emulator with new fonts before running cargo test 2022-03-23 13:40:45 +01:00
grdddj
7b41946789 chore(tests): reflect tenv's changes in image and command 2022-03-22 13:26:42 +01:00
grdddj
f0cc7f3327 feat(ci): autogenerate documentation for CI jobs 2022-03-18 12:02:24 +01:00
matejcik
d655dbf228 ci: allow HWI test failure 2022-02-28 15:45:29 +01:00
grdddj
9cba6a0191 chore(ci): rename UI jobs and make legacy UI a dependency 2022-02-17 11:05:55 +01:00
grdddj
5ba47b582a fix(ci): add T1/TT argument into prepare_ui_artifacts.py to account for missing files 2022-02-17 11:05:55 +01:00
grdddj
5ab93ab812 feat(ci): generate artifacts for legacy test 2022-02-17 11:05:55 +01:00
grdddj
967727a43c chore(legacy,ci): add and use make targets for legacy 2022-02-17 11:05:55 +01:00
Andrew Kozlik
02660ea64a ci: Increase crypto test timeout due to test_codepoints failing. 2022-02-16 10:25:15 +01:00
matejcik
b0a7e13c88 ci: remove separate "UI" job, do UI test in the default "device test" job 2022-02-08 16:34:54 +01:00
vdovhanych
48d7f71ccc ci: add hwi tests for core and legacy builds 2022-02-08 14:18:08 +01:00
Martin Milata
af0ae880a1 fix(ci): Fix valgrind crypto test. 2022-01-19 15:22:03 +01:00
Andrew Kozlik
07013d5a0c fix(ci): Fix crypto tests. 2022-01-19 15:22:03 +01:00
Andrew Kozlik
ebc07fd6db ci: Suppress libSDL memory leaks.
[no changelog]
2022-01-19 15:22:03 +01:00
Martin Milata
242b5f956c ci: more AddressSanitizer jobs 2022-01-19 15:22:03 +01:00
Martin Milata
b6ed573cf5 ci(legacy): run nightly device tests with AddressSanitizer
[no changelog]
2022-01-19 15:22:03 +01:00
Martin Milata
e3541997f0 ci(core): run nightly device tests with AddressSanitizer
[no changelog]
2022-01-19 15:22:03 +01:00
Andrew Kozlik
fc0fa726e4 ci: Allow failure of connect tests. 2022-01-10 11:14:36 +01:00
grdddj
f838e15eda chore(ci): connect tests - exporting emu/bridge logfile from tenv as artifact 2021-12-17 13:53:26 +01:00
grdddj
3ed92a72bb feat(ci): running connect tests against current branch 2021-12-10 14:18:21 +01:00
vdovhanych
3419961797 ci: introduce gitlab cache for vnev 2021-11-26 16:30:05 +01:00
Martin Milata
52f719ad81 ci: add core unit test t1
[no changelog]
2021-11-24 15:36:34 +01:00
Martin Milata
81e66cb024 style(core/rust): enable clippy lints
[no changelog]
2021-09-23 14:22:40 +02:00
Martin Milata
a7a7570496 ci(core): enable rust unit tests
[no changelog]
2021-09-16 14:57:06 +02:00
vdovhanych
6b3e743373 ci: add duration timestamps on all test jobs 2021-06-09 10:00:24 +02:00
matejcik
bb96cdc4e6 ci: include monero logs in artifacts 2021-05-06 13:14:21 +02:00
Martin Milata
88cdb72aec ci: bump nixpkgs version to latest 2021-04-06 22:06:12 +02:00
Martin Milata
73c600d3f5 ci: also run regular tt tests on hw
Break off hardware test tasks into separate file.
2021-02-05 12:58:21 +01:00
Martin Milata
ceccf1951a ci: all hw configuration in one place 2021-02-05 12:58:21 +01:00
Martin Milata
41bf9201b5 ci: do not rely on TREZOR_PATH, use switch ports instead
As the connected Trezors can be left in various weird states, trezorctl
list may not always return what is expected or even fail. If it failed
TREZOR_PATH was set to empty string which means random device got
selected.

For now let's avoid using incorrect device by powering down the other
usb port.

Fix log lines ordering.
2021-02-05 12:58:21 +01:00
Martin Milata
0a75e02392 ci: skip some tests that cause alloc failure
Also increase PYTEST_TIMEOUT so that test_lots_of_inputs has enough time
to pass.
2021-02-05 12:58:21 +01:00
Martin Milata
dedca1bb13 ci: ffmpeg tweaks in hardware tests
Running ffmpeg in a subshell and killing it in exit trap handler should
ensure video availability even when bootstrap or pytest fail.
2021-02-05 12:58:21 +01:00
Tomas Susanka
708a85a916 ci: run btconly firmware on TT in HW tests 2021-02-05 12:58:21 +01:00
Tomas Susanka
61531fbd4a ci: introduce hardware tests for TT 2021-02-05 12:58:21 +01:00
Martin Milata
a0fccca041 ci(core): increase PYTEST_TIMEOUT for memory profiling
test_lots_of_inputs times out, still less than 1200 needed on actual
hardware
2020-12-08 18:07:50 +01:00
Martin Milata
c89a8b7bd5 ci(core): add memory profiler job 2020-11-02 14:14:00 +01:00
Martin Milata
9ed25a718a ci: handle full dependencies in shell.nix
Handling of full dependencies (multiple python versions, Monero tests)
was moved from Dockerfile to shell.nix.

The Python packages are installed from the pinned nixpkgs revision and
do not depend on channel state at the time of docker build anymore.

The Monero test binary is now downloaded using fetchurl which fails the
build if checksum doesn't match.
2020-10-15 15:59:20 +02:00
Pavol Rusnak
4fdb62c2e2 chore(python): replace pipenv with poetry 2020-10-07 16:21:00 +02:00
Pavol Rusnak
98ea241e97
ci: use alternative list syntax for needs 2020-10-06 21:59:22 +02:00
Tomas Susanka
99e0faafb6 test(core): print fixtures suggestion after the test 2020-10-06 21:17:28 +02:00
matejcik
1f5c08c9a2 ci: add .gitlab-ci.yml as explicit trigger whenever ci/** is a trigger 2020-09-29 11:30:40 +02:00
Tomas Susanka
c7b6d98cfc tests/upgrade-tests: modify paths in release jobs and add job for MacOS 2020-08-27 21:04:22 +02:00
Tomas Susanka
db020c7a47 ci: run HW tests for secfix branches 2020-08-24 13:30:57 +02:00
Tomas Susanka
13c11e756e ci: replace 'dependends' with 'needs'
https://docs.gitlab.com/ee/ci/yaml/#needs
2020-08-18 16:55:31 +02:00