Commit Graph

298 Commits (f607cb25019f0bc18bae281ce294a52810fc5ec5)

Author SHA1 Message Date
Martin Milata 8e00904a3f ci: unified shell.nix for hardware tests
3 years ago
Martin Milata 720eaa3abd ci: run monero tests on hardware
3 years ago
Martin Milata 17324a01a3 ci: more reboots and skipped cases for hardware tests
3 years ago
Martin Milata 99a858a774 ci: hw: skip sd_card tests on TT
3 years ago
Martin Milata 3213557f72 ci: check model before flashing
3 years ago
Martin Milata 17494b2276 ci: reboot more often during hardware regular test
3 years ago
Tomas Susanka 8955d04b5e ci: add fixup check to Github Actions
3 years ago
Martin Milata 11ac8ef19d ci: also build bootloader_ci
3 years ago
Tomas Susanka 6214156c35 fix(ci): strip commit version for emulator releases
3 years ago
Pavol Rusnak 32c37aa9cd
fix(ci): copy nixpkgs.nix to container
3 years ago
Martin Milata c000a803e4 ci: deterministic order for hw tt btconly testcases
3 years ago
Martin Milata 2ecd4eeac2 ci: wait longer for T1 bootup
3 years ago
Martin Milata 6050412ed4 docs: hardware CI test jobs
3 years ago
Martin Milata 73c600d3f5 ci: also run regular tt tests on hw
3 years ago
Martin Milata 55474bdadd ci: use custom uhubctl package
3 years ago
Martin Milata 4d5e6e360f ci: change usb location/ports
3 years ago
Martin Milata c7b021e59e ci: hardware: wipe tt before flashing
3 years ago
Martin Milata ceccf1951a ci: all hw configuration in one place
3 years ago
Martin Milata 4adbb4e8e1 ci: use same pinned nixpkgs for hardware tests
3 years ago
Martin Milata 41bf9201b5 ci: do not rely on TREZOR_PATH, use switch ports instead
3 years ago
Martin Milata ed481b5dde ci: hw tests: tweak wait times
3 years ago
Martin Milata 0a75e02392 ci: skip some tests that cause alloc failure
3 years ago
Martin Milata dedca1bb13 ci: ffmpeg tweaks in hardware tests
3 years ago
Tomas Susanka 708a85a916 ci: run btconly firmware on TT in HW tests
3 years ago
Tomas Susanka 61531fbd4a ci: introduce hardware tests for TT
3 years ago
Pavol Rusnak 250f09245b
ci: drop experimental --platform argument from docker
3 years ago
Pavol Rusnak 1f5d8b89d7
nix: stdenv.lib -> lib
3 years ago
Tomas Susanka 677465eecd ci: update Monero test binary to latest 0.17.1.9
3 years ago
Pavol Rusnak 453df567d3 ci: various fixes and updates
3 years ago
Pavol Rusnak b9c0b597bc nix: bump stable nixos-20.09 to latest
3 years ago
Martin Milata a0fccca041 ci(core): increase PYTEST_TIMEOUT for memory profiling
3 years ago
matejcik faa57e29db build(core): include generated resources.py in repo
4 years ago
Pavol Rusnak 50fdd183c2
ci: enable editorconfig checks, fix whitespace issues
4 years ago
Pavol Rusnak 473fb1a3a6
ci: enable yaml checks
4 years ago
Tomas Susanka 09a8d4229e feat(ci): introduce yamllint
4 years ago
Tomas Susanka 1f90a13372 ci: change [NO MASTER] to [RELEASE ONLY] in release check
4 years ago
Tomas Susanka 859aa23752 ci: remove 'changes' from prebuild
4 years ago
Tomas Susanka cc3d86f0dd ci: skip submodules download where applicable
4 years ago
Martin Milata c89a8b7bd5 ci(core): add memory profiler job
4 years ago
Tomas Susanka fd90bb9d10 ci: remove darwin emulator deploy
4 years ago
Tomas Susanka dfd93b6759 ci: distinguish between t1 and tt on firmware corp server
4 years ago
Martin Milata 9ed25a718a ci: handle full dependencies in shell.nix
4 years ago
Tomas Susanka 6cb601509b ci: skip macos build for now
4 years ago
Tomas Susanka 2101ff8904 ci: also remove docker pull from environment, it is not needed
4 years ago
Pavol Rusnak 2fcc34c301
ci: another try with the environment
4 years ago
Pavol Rusnak 940400998a
ci(dockerfile): fix other python versions
4 years ago
Pavol Rusnak 6cc1d70f2e
ci(dockerfile): fix python versions
4 years ago
Tomas Susanka 3a8e46467a ci: fix firmware versions in deploy jobs
4 years ago
Pavol Rusnak 2e4d67165f
ci(nix): update nixpkgs to latest nixos-20.09 stable
4 years ago
Pavol Rusnak 4fdb62c2e2 chore(python): replace pipenv with poetry
4 years ago
Pavol Rusnak 98ea241e97
ci: use alternative list syntax for needs
4 years ago
Tomas Susanka 99e0faafb6 test(core): print fixtures suggestion after the test
4 years ago
Tomas Susanka 225966ea7c ci: fix date epoch in shell.nix not in Gitlab yml file
4 years ago
matejcik 1f5c08c9a2 ci: add .gitlab-ci.yml as explicit trigger whenever ci/** is a trigger
4 years ago
matejcik e4785d47e0 style: apply black 20.8b1
4 years ago
Tomas Susanka 5edd0a55f3 ci: document arduino pins
4 years ago
Tomas Susanka c7b6d98cfc tests/upgrade-tests: modify paths in release jobs and add job for MacOS
4 years ago
Tomas Susanka c52c93aea0 ci: add core btconly debug build and deploy it during release
4 years ago
Tomas Susanka 00593dc6d6 ci: fix builds for MacOS
4 years ago
Tomas Susanka db020c7a47 ci: run HW tests for secfix branches
4 years ago
Tomas Susanka 141d9099f5 ci: remove release candidates deploy
4 years ago
Martin Milata 71c5bc4e3b ci: fail if coverage falls under threshold
4 years ago
Tomas Susanka 13c11e756e ci: replace 'dependends' with 'needs'
4 years ago
Pavol Rusnak c3892b75bd
ci: test python on Pipfile.lock/poetry.lock
4 years ago
Pavol Rusnak e0ee8266ec
poetry: add pyproject.toml + lock file
4 years ago
Tomas Susanka 01ac2ec48d ci: run release commit message check only on one Gitlab
4 years ago
Tomas Susanka fa39948683 ci: fix release commit check
4 years ago
Pavol Rusnak ac9047a438
ci/build: fix typo in "core fw btconly t1 build"
4 years ago
Tomas Susanka fb583cf0fa ci: fix release commit message check
4 years ago
Pavol Rusnak efc5ccdaf0
core: remove src1
4 years ago
Pavol Rusnak 063aba910d core: rename emulator to trezor-emu-core
4 years ago
Pavol Rusnak f71958b63f
ci: build T1 firmware
4 years ago
Tomas Susanka 698b632acb ci: add btconly debug build and run hardware tests for it
4 years ago
Pavol Rusnak 8d94b13d3a
ci/test: fix coverage by moving the files to correct subdir
4 years ago
Tomas Susanka e6889245e8 ci: set core/legacy version in .gitlab.yml
4 years ago
Tomas Susanka 040b4a1ee7 ci: fix VERSION export from version.h
4 years ago
Pavol Rusnak 82c0c40367
ci: make nix-shell available on darwin in before_script
4 years ago
Pavol Rusnak 25a2e690fe
ci/test: set C.UTF-8 locale for Python tests
4 years ago
Tomas Susanka 2b4de8e270
ci: use nix docker image
4 years ago
Pavol Rusnak 8f6a6c098e
ci/Dockerfile: use nix-shell instead of nix-env
4 years ago
Pavol Rusnak 09a212dca0
nix: use the latest snapshot of nixos-unstable
4 years ago
Pavol Rusnak 6d1e97884c
nix: add procps and wget
4 years ago
Pavol Rusnak 937336e6b6
nix: add bash, use openssl instead of libressl
4 years ago
Pavol Rusnak 6c09c61978
nix: unify ci/shell.nix and shell.nix
4 years ago
Tomas Susanka 0c734dc8fd ci: remove shell hook
4 years ago
Tomas Susanka 6ebb388905 ci: add debug firmwares to releases
4 years ago
Tomas Susanka 39f5b065d3 tests/hardware: add sleep to update_firmware and always publish artifacts
4 years ago
Pavol Rusnak 74450ee4bb docker: rename container name to trezor-firmware-build.nix
4 years ago
Pavol Rusnak 2930251eeb docker: don't use nixos/nix as base, use alpine from scratch
4 years ago
Pavol Rusnak 1d68c9b386 ci: use NixOS in Docker
4 years ago
Tomas Susanka 5440f1db27 ci: fix release legacy btconly deploy
4 years ago
Pavol Rusnak ae2d5813f0
ci/Dockerfile: set PIPENV_CACHE_DIR
4 years ago
Pavol Rusnak 86e20d07bd
ci/Dockerfile: update trezor_monero_tests binary
4 years ago
Tomas Susanka 742b23e382 ci/fido2: check if another emu is not running
4 years ago
Tomas Susanka 05aabc64bb docs: document CI jobs
4 years ago
Tomas Susanka 503bbb0eb3 ci: add check for release branches
4 years ago
Tomas Susanka 1634baa1e5 ci: remove 'only changes'
4 years ago
Tomas Susanka 24fff39314 ci: add tpmb
4 years ago
Tomas Susanka 1be5e577ee ci: move report files 'mv' to after_script
4 years ago
Tomas Susanka f82e28ee6f ci: fix upgrade tests deploy when commit has two tags
4 years ago
Tomas Susanka 6901cb7cdf ci: simplify regular expressions for release and tags
4 years ago
Tomas Susanka 2b031990f8 ci: run hardware tests nightly and for releases
4 years ago
Marek Mahut 4264e87319 ci: add hardware tests for T1
4 years ago
Tomas Susanka 17392f94b8 ci: set artifacts' name using the job name and commit hash
4 years ago
Tomas Susanka 30a267c83d ci: check if commit message contains fixup on travis
4 years ago
Tomas Susanka e3b674a42e ci: move ui reports to the root to simplify artifacts browsing
4 years ago
Tomas Susanka 89929c7a8c tests/ui: create report what differs from master
4 years ago
Tomas Susanka c418e628ac ci: omit unix/emu label in test jobs
4 years ago
matejcik 8c75c94125 ci: ensure system Python 3.7 is used even if other pythons are available
4 years ago
matejcik 37ab510622 ci: remove sleeps for coverage, restore Monero
4 years ago
Tomas Susanka 8a499b3067 ci: run coverage only for core
4 years ago
Tomas Susanka f4c38af825 ci: use 'extends' instead of yaml anchors
4 years ago
Tomas Susanka 1480f5a25c ci: remove coverage from monero test
4 years ago
Tomas Susanka 30684bc46b tests/ui: fix deploy script
4 years ago
Tomas Susanka e9c5e47ab4 ci: add Pipfile.lock to 'only_changes'
4 years ago
matejcik 04fe99af8e ci: turn mypy check into a part of style-check
4 years ago
matejcik 06909aef7d ci: no dependencies for python test
4 years ago
matejcik 34332cc294 ci: do not store resources for frozen builds
4 years ago
matejcik e2f71a1acc ci: use frozen debug builds for emulator tests
4 years ago
matejcik 6cf48bf485 ci: use explicit trezor.log location
4 years ago
matejcik 32b269ad43 ci: fix path for core-bitcoinonly test
4 years ago
Pavol Rusnak 9a884a5dc5
ci/tests: disable test_LongEcho in HIDTest, remove retry
4 years ago
Tomas Susanka 7c41b40dff
tests: introduce UI tests for core with diffs (#784)
4 years ago
Milan Rossa 33b7e378c2
core/ci: add coverage target, introduce posttest stage
4 years ago
Tomas Susanka 1103a14c48 tests/ui: move reports and add index.html
4 years ago
Tomas Susanka 96ec85686e tests/ui: success html file
4 years ago
Tomas Susanka 68425fbb8c ci: add junit to ui tests
4 years ago
Tomas Susanka 362dbce606 ci: rename tmp folder to ui_test_records
4 years ago
Tomas Susanka 56257eb6a5 tests/ui: code review fixes
4 years ago
Tomas Susanka fe690a6b6b tests/ui: embed images as base64 to diff.html
4 years ago
Tomas Susanka 3dfbe7aa98 ci: upload ui tests fixtures
4 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
4 years ago
Tomas Susanka bc0c10bf3e ci: always upload test.yml artifacts
4 years ago
Tomas Susanka a28f29708f ci: add junit for a nice tests overview
4 years ago
Tomas Susanka b6e2c2d14b ci/tests: add core emulator logs as artifacts
5 years ago
Pavol Rusnak d63f613238
ci/docker: use gcc-arm-embedded 9
5 years ago
Pavol Rusnak 0a0cd797e3
ci/tests: use new Monero tests binary
5 years ago
Pavol Rusnak 13af405158
ci/test: remove retry attribute for "core unix monero test"
5 years ago
Dusan Klinec d81f43f7a4 tests: use new monero testing binary v0.15.0.0
5 years ago
Pavol Rusnak 07cdebeb9b
ci/legacy: don't build bootloader twice
5 years ago
Tomas Susanka a799be335a ci: add core debug fw build
5 years ago
Tomas Susanka 7016391893 ci: add artifacts to legacy fw debug build
5 years ago
Pavol Rusnak 8aeec95bae
ci: include full links to issues
5 years ago
Tomas Susanka c1f7239c2d ci: add click and persistence tests
5 years ago
Tomas Susanka 0811733185 ci: run mypy without limitation
5 years ago
Tomas Susanka b530e7c105 ci: add fido2 tests to ci
5 years ago
Tomas Susanka 0b1b9a2f79 ci: add mypy
5 years ago
Tomas Susanka 74bc28b3cb ci: deploy firmwares to the internal server
5 years ago
Marek Mahut 76f20fbaa5 ci/build: adding darwin emulator build
5 years ago
Tomas Susanka 737ebeec1c ci: add 'retry' to flaky tests (Monero and U2F)
5 years ago