1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-24 16:38:15 +00:00

ci: rename tmp folder to ui_test_records

This commit is contained in:
Tomas Susanka 2020-01-06 14:59:12 +00:00
parent 47419c7768
commit 362dbce606
4 changed files with 3 additions and 3 deletions

View File

@ -206,6 +206,6 @@ ui tests core fixtures deploy:
- core unix device ui test - core unix device ui test
script: script:
- echo "Deploying to $DEPLOY_PATH" - echo "Deploying to $DEPLOY_PATH"
- rsync --delete -va ci/tmp/* "$DEPLOY_PATH" - rsync --delete -va ci/ui_test_records/* "$DEPLOY_PATH"
tags: tags:
- deploy - deploy

View File

@ -18,4 +18,4 @@ for recorded_dir in fixture_root.glob("*/recorded"):
expected_hash = (recorded_dir.parent / "hash.txt").read_text() expected_hash = (recorded_dir.parent / "hash.txt").read_text()
actual_hash = _hash_files(recorded_dir) actual_hash = _hash_files(recorded_dir)
assert expected_hash == actual_hash assert expected_hash == actual_hash
shutil.make_archive("tmp/" + actual_hash, "zip", recorded_dir) shutil.make_archive("ui_test_records/" + actual_hash, "zip", recorded_dir)

View File

@ -53,7 +53,7 @@ core unix device ui test:
name: core-unix-device-ui-test name: core-unix-device-ui-test
paths: paths:
- trezor.log - trezor.log
- ci/tmp/ - ci/ui_test_records/
- tests/ui_tests/fixtures/*/diff.html - tests/ui_tests/fixtures/*/diff.html
when: always when: always
expire_in: 1 week expire_in: 1 week