mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 23:38:09 +00:00
chore(ci): rename UI jobs and make legacy UI a dependency
This commit is contained in:
parent
5ba47b582a
commit
9cba6a0191
@ -226,7 +226,7 @@ release legacy unix debug deploy:
|
|||||||
|
|
||||||
# UI tests
|
# UI tests
|
||||||
|
|
||||||
ui tests core fixtures deploy:
|
ui tests fixtures deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
variables:
|
variables:
|
||||||
DEPLOY_PATH: "${DEPLOY_BASE_DIR}/ui_tests/"
|
DEPLOY_PATH: "${DEPLOY_BASE_DIR}/ui_tests/"
|
||||||
@ -234,6 +234,7 @@ ui tests core fixtures deploy:
|
|||||||
before_script: [] # no poetry
|
before_script: [] # no poetry
|
||||||
needs:
|
needs:
|
||||||
- core device test
|
- core device test
|
||||||
|
- legacy device test
|
||||||
script:
|
script:
|
||||||
- echo "Deploying to $DEPLOY_PATH"
|
- echo "Deploying to $DEPLOY_PATH"
|
||||||
- rsync --delete -va ci/ui_test_records/* "$DEPLOY_PATH"
|
- rsync --delete -va ci/ui_test_records/* "$DEPLOY_PATH"
|
||||||
|
@ -28,13 +28,14 @@ core unix coverage posttest:
|
|||||||
when: always
|
when: always
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
core unix ui changes:
|
unix ui changes:
|
||||||
stage: posttest
|
stage: posttest
|
||||||
except:
|
except:
|
||||||
- master
|
- master
|
||||||
<<: *gitlab_caching
|
<<: *gitlab_caching
|
||||||
needs:
|
needs:
|
||||||
- core device test
|
- core device test
|
||||||
|
- legacy device test
|
||||||
script:
|
script:
|
||||||
- nix-shell --run "cd tests/ui_tests ; poetry run python reporting/report_master_diff.py"
|
- nix-shell --run "cd tests/ui_tests ; poetry run python reporting/report_master_diff.py"
|
||||||
- mv tests/ui_tests/reporting/reports/master_diff/ .
|
- mv tests/ui_tests/reporting/reports/master_diff/ .
|
||||||
|
@ -405,7 +405,7 @@ crypto test:
|
|||||||
|
|
||||||
# Legacy
|
# Legacy
|
||||||
|
|
||||||
legacy test:
|
legacy device test:
|
||||||
stage: test
|
stage: test
|
||||||
<<: *gitlab_caching
|
<<: *gitlab_caching
|
||||||
needs:
|
needs:
|
||||||
|
@ -90,5 +90,5 @@ creates a report where you find which tests were altered, added, or removed rela
|
|||||||
master. This useful for Pull Requests.
|
master. This useful for Pull Requests.
|
||||||
|
|
||||||
This report is available as an artifact on CI as well. You can find it by
|
This report is available as an artifact on CI as well. You can find it by
|
||||||
visiting the "core unix ui changes" job in your pipeline - browse the
|
visiting the "unix ui changes" job in your pipeline - browse the
|
||||||
artifacts and open `master_diff/index.html`.
|
artifacts and open `master_diff/index.html`.
|
||||||
|
Loading…
Reference in New Issue
Block a user