1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 12:58:13 +00:00

feat(tests): use trezorlib's builtin model list to fetch the pipelines

this includes D001 / D002, that probably doesn't matter
This commit is contained in:
matejcik 2024-09-10 15:36:26 +02:00 committed by matejcik
parent c31819b53f
commit 475673e894
2 changed files with 2894 additions and 22 deletions

View File

@ -11,6 +11,8 @@ from typing import Any, Iterable, Iterator
import requests
from trezorlib import models
AnyDict = dict[Any, Any]
HERE = Path(__file__).parent
@ -18,7 +20,7 @@ HERE = Path(__file__).parent
LIST_RUNS_TEMPLATE = "https://api.github.com/repos/trezor/trezor-firmware/actions/workflows/{workflow}/runs?branch={branch}"
FIXTURES_TEMPLATE = "https://data.trezor.io/dev/firmware/ui_report/{run}/{model}-{lang}-{job}/fixtures.results.json"
MODELS = ["T2T1", "T2B1", "T3T1"]
MODELS = [model.internal_name for model in models.TREZORS]
LANGUAGES = ["en", "cs", "de", "es", "fr", "it", "pt", "tr"]
JOBS = ["core_device_test", "core_click_test", "core_persistence_test"]

File diff suppressed because it is too large Load Diff