mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-29 16:51:30 +00:00
ci: run monero tests on hardware
This commit is contained in:
parent
bb1c638d3b
commit
720eaa3abd
@ -95,6 +95,33 @@ hardware core btconly device test:
|
||||
expire_in: 2 days
|
||||
when: always
|
||||
|
||||
hardware core monero test:
|
||||
stage: test
|
||||
only:
|
||||
- schedules # nightly build
|
||||
- /^release\//
|
||||
- /^secfix\//
|
||||
- /^hw\//
|
||||
tags:
|
||||
- tpmb
|
||||
needs:
|
||||
- core fw regular debug build
|
||||
variables:
|
||||
TESTOPTS: --trezor_path webusb
|
||||
script:
|
||||
- cd ci/hardware_tests
|
||||
- set -a
|
||||
- source hardware.cfg
|
||||
- set +a
|
||||
- nix-shell --run "cd ../.. && poetry install"
|
||||
- nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin"
|
||||
- nix-shell --arg fullDeps true --run "cd ../../core/tests && ./run_tests_device_emu_monero.sh $TESTOPTS"
|
||||
timeout: 35m
|
||||
artifacts:
|
||||
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
|
||||
expire_in: 2 days
|
||||
when: always
|
||||
|
||||
hardware legacy regular device test:
|
||||
stage: test
|
||||
only:
|
||||
|
@ -53,7 +53,7 @@ fi
|
||||
echo "Running tests"
|
||||
TIME_TESTS_START=$SECONDS
|
||||
if [[ "$OSTYPE" == "linux-gnu" && "$FORCE_DOCKER_USE" != 1 ]]; then
|
||||
"$TREZOR_MONERO_TESTS_PATH" 2>&1 > "$TREZOR_MONERO_TESTS_LOG"
|
||||
"$TREZOR_MONERO_TESTS_PATH" $@ 2>&1 > "$TREZOR_MONERO_TESTS_LOG"
|
||||
error=$?
|
||||
|
||||
elif [[ "$OSTYPE" == "darwin"* || "$FORCE_DOCKER_USE" == 1 ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user