From 9cba6a01917f3b8a39113cd4b896bca3393ef000 Mon Sep 17 00:00:00 2001 From: grdddj Date: Wed, 9 Feb 2022 14:34:22 +0100 Subject: [PATCH] chore(ci): rename UI jobs and make legacy UI a dependency --- ci/deploy.yml | 3 ++- ci/posttest.yml | 3 ++- ci/test.yml | 2 +- docs/tests/ui-tests.md | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ci/deploy.yml b/ci/deploy.yml index 2a3ff0f60..37d59c55f 100644 --- a/ci/deploy.yml +++ b/ci/deploy.yml @@ -226,7 +226,7 @@ release legacy unix debug deploy: # UI tests -ui tests core fixtures deploy: +ui tests fixtures deploy: stage: deploy variables: DEPLOY_PATH: "${DEPLOY_BASE_DIR}/ui_tests/" @@ -234,6 +234,7 @@ ui tests core fixtures deploy: before_script: [] # no poetry needs: - core device test + - legacy device test script: - echo "Deploying to $DEPLOY_PATH" - rsync --delete -va ci/ui_test_records/* "$DEPLOY_PATH" diff --git a/ci/posttest.yml b/ci/posttest.yml index 977c43636..5170f6c1e 100644 --- a/ci/posttest.yml +++ b/ci/posttest.yml @@ -28,13 +28,14 @@ core unix coverage posttest: when: always expire_in: 1 week -core unix ui changes: +unix ui changes: stage: posttest except: - master <<: *gitlab_caching needs: - core device test + - legacy device test script: - nix-shell --run "cd tests/ui_tests ; poetry run python reporting/report_master_diff.py" - mv tests/ui_tests/reporting/reports/master_diff/ . diff --git a/ci/test.yml b/ci/test.yml index 48a4dbdf4..0a39846ef 100644 --- a/ci/test.yml +++ b/ci/test.yml @@ -405,7 +405,7 @@ crypto test: # Legacy -legacy test: +legacy device test: stage: test <<: *gitlab_caching needs: diff --git a/docs/tests/ui-tests.md b/docs/tests/ui-tests.md index c790beb84..7df9ccb0c 100644 --- a/docs/tests/ui-tests.md +++ b/docs/tests/ui-tests.md @@ -90,5 +90,5 @@ creates a report where you find which tests were altered, added, or removed rela master. This useful for Pull Requests. 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`.