mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-24 23:48:13 +00:00
ci(legacy): remove legacy_ui_main
CI job
[no changelog]
This commit is contained in:
parent
da97b919e7
commit
e31bc3c9eb
36
.github/workflows/legacy.yml
vendored
36
.github/workflows/legacy.yml
vendored
@ -190,42 +190,6 @@ jobs:
|
|||||||
- run: nix-shell --run "git clone --depth=1 https://github.com/bitcoin-core/HWI.git"
|
- run: nix-shell --run "git clone --depth=1 https://github.com/bitcoin-core/HWI.git"
|
||||||
- run: nix-shell --arg fullDeps true --run "cd HWI && poetry install && poetry run ./test/test_trezor.py --model_1 ../legacy/firmware/trezor.elf bitcoind"
|
- run: nix-shell --arg fullDeps true --run "cd HWI && poetry install && poetry run ./test/test_trezor.py --model_1 ../legacy/firmware/trezor.elf bitcoind"
|
||||||
|
|
||||||
legacy_ui_main:
|
|
||||||
name: UI diff from main branch
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs:
|
|
||||||
- legacy_device_test
|
|
||||||
continue-on-error: true
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Initialize and update ts-tvl
|
|
||||||
run: |
|
|
||||||
git submodule update --init --recursive vendor/ts-tvl
|
|
||||||
- uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
pattern: ui-records-*
|
|
||||||
merge-multiple: true
|
|
||||||
- uses: ./.github/actions/environment
|
|
||||||
- name: Configure aws credentials
|
|
||||||
uses: aws-actions/configure-aws-credentials@v4
|
|
||||||
with:
|
|
||||||
role-to-assume: arn:aws:iam::538326561891:role/gh_actions_deploy_dev_firmware_data
|
|
||||||
aws-region: eu-west-1
|
|
||||||
continue-on-error: true
|
|
||||||
- run: "for F in screens_*.tar; do tar xvf $F; done || true"
|
|
||||||
- run: nix-shell --run "poetry run python -m tests.ui_tests.reporting master-diff T1"
|
|
||||||
- run: |
|
|
||||||
mv tests/ui_tests/reports/master_diff .
|
|
||||||
if [ "${{ job.status }}" = "success" ]; then
|
|
||||||
cp .github/actions/ui-report/success.png master_diff/status.png
|
|
||||||
else
|
|
||||||
cp .github/actions/ui-report/failure.png master_diff/status.png
|
|
||||||
fi
|
|
||||||
- name: Upload main branch diff
|
|
||||||
run: |
|
|
||||||
aws s3 sync --only-show-errors master_diff s3://data.trezor.io/dev/firmware/master_diff/${{ github.run_id }}
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
legacy_upload_emu:
|
legacy_upload_emu:
|
||||||
name: Upload emulator binaries
|
name: Upload emulator binaries
|
||||||
if: github.event_name == 'schedule'
|
if: github.event_name == 'schedule'
|
||||||
|
Loading…
Reference in New Issue
Block a user