1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

ci: fix HWI jobs

This commit is contained in:
matejcik 2023-04-24 14:34:39 +02:00
parent fc5bffb890
commit e80dbfc74b
2 changed files with 17 additions and 15 deletions

View File

@ -409,7 +409,8 @@ core hwi test:
allow_failure: true allow_failure: true
script: script:
- $NIX_SHELL --run "git clone https://github.com/bitcoin-core/HWI.git" - $NIX_SHELL --run "git clone https://github.com/bitcoin-core/HWI.git"
- $NIX_SHELL --arg fullDeps true --run "cd HWI && poetry install && poetry run ./test/test_trezor.py --model_t ../core/build/unix/trezor-emu-core bitcoind" # see "python test" for explanation of _PYTHON_SYSCONFIGDATA_NAME
- $NIX_SHELL --arg fullDeps true --run "unset _PYTHON_SYSCONFIGDATA_NAME && cd HWI && poetry install && poetry run ./test/test_trezor.py --model_t ../core/build/unix/trezor-emu-core bitcoind"
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths: paths:
@ -575,7 +576,8 @@ legacy hwi test:
allow_failure: true allow_failure: true
script: script:
- $NIX_SHELL --run "git clone https://github.com/bitcoin-core/HWI.git" - $NIX_SHELL --run "git clone https://github.com/bitcoin-core/HWI.git"
- $NIX_SHELL --arg fullDeps true --run "cd HWI && poetry install && poetry run ./test/test_trezor.py --model_1 ../legacy/firmware/trezor.elf bitcoind" # see "python test" for explanation of _PYTHON_SYSCONFIGDATA_NAME
- $NIX_SHELL --arg fullDeps true --run "unset _PYTHON_SYSCONFIGDATA_NAME && cd HWI && poetry install && poetry run ./test/test_trezor.py --model_1 ../legacy/firmware/trezor.elf bitcoind"
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths: paths:

View File

@ -189,32 +189,32 @@ Persistence tests - UI.
### [core hwi test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L404) ### [core hwi test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L404)
### [crypto test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L422) ### [crypto test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L423)
### [legacy device test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L454) ### [legacy device test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L455)
Legacy device test - UI. Legacy device test - UI.
### [legacy asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L481) ### [legacy asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L482)
### [legacy btconly test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L493) ### [legacy btconly test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L494)
### [legacy btconly asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L513) ### [legacy btconly asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L514)
### [legacy upgrade test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L528) ### [legacy upgrade test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L529)
### [legacy upgrade asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L547) ### [legacy upgrade asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L548)
### [legacy hwi test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L568) ### [legacy hwi test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L569)
### [python test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L587) ### [python test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L589)
### [python support test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L606) ### [python support test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L608)
### [storage test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L616) ### [storage test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L618)
### [core unix memory profiler](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L640) ### [core unix memory profiler](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L642)
### [connect test core](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L664) ### [connect test core](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L666)
--- ---
## TEST-HW stage - [test-hw.yml](https://github.com/trezor/trezor-firmware/blob/master/ci/test-hw.yml) ## TEST-HW stage - [test-hw.yml](https://github.com/trezor/trezor-firmware/blob/master/ci/test-hw.yml)