mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-29 08:40:57 +00:00
ci: address github yaml lint
[skip_ci]
This commit is contained in:
parent
10ba51c242
commit
78889c77aa
@ -145,8 +145,8 @@ def get_all_tests_text(func: Callable[[str, str], str]) -> str:
|
|||||||
|
|
||||||
def fill_device_tests() -> None:
|
def fill_device_tests() -> None:
|
||||||
replacement = Replacement(
|
replacement = Replacement(
|
||||||
start=r"##START_DEVICE_TESTS",
|
start=r"## START_DEVICE_TESTS",
|
||||||
end=r"##END_DEVICE_TESTS",
|
end=r"## END_DEVICE_TESTS",
|
||||||
replacement=get_all_tests_text(get_device_test),
|
replacement=get_all_tests_text(get_device_test),
|
||||||
)
|
)
|
||||||
replace_content_between_markers(TEST_FILE, [replacement])
|
replace_content_between_markers(TEST_FILE, [replacement])
|
||||||
@ -154,8 +154,8 @@ def fill_device_tests() -> None:
|
|||||||
|
|
||||||
def fill_click_tests() -> None:
|
def fill_click_tests() -> None:
|
||||||
replacement = Replacement(
|
replacement = Replacement(
|
||||||
start=r"##START_CLICK_TESTS",
|
start=r"## START_CLICK_TESTS",
|
||||||
end=r"##END_CLICK_TESTS",
|
end=r"## END_CLICK_TESTS",
|
||||||
replacement=get_all_tests_text(get_click_test),
|
replacement=get_all_tests_text(get_click_test),
|
||||||
)
|
)
|
||||||
replace_content_between_markers(TEST_FILE, [replacement])
|
replace_content_between_markers(TEST_FILE, [replacement])
|
||||||
|
@ -10,7 +10,7 @@ image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/trezor-firmware-en
|
|||||||
paths:
|
paths:
|
||||||
- .venv/
|
- .venv/
|
||||||
|
|
||||||
##START_DEVICE_TESTS
|
## START_DEVICE_TESTS
|
||||||
core device test czech:
|
core device test czech:
|
||||||
stage: test
|
stage: test
|
||||||
<<: *gitlab_caching
|
<<: *gitlab_caching
|
||||||
@ -300,9 +300,9 @@ core device R test spanish:
|
|||||||
junit: tests/junit.xml
|
junit: tests/junit.xml
|
||||||
|
|
||||||
|
|
||||||
##END_DEVICE_TESTS
|
## END_DEVICE_TESTS
|
||||||
|
|
||||||
##START_CLICK_TESTS
|
## START_CLICK_TESTS
|
||||||
core click test czech:
|
core click test czech:
|
||||||
stage: test
|
stage: test
|
||||||
<<: *gitlab_caching
|
<<: *gitlab_caching
|
||||||
@ -584,4 +584,4 @@ core click R test spanish:
|
|||||||
when: always
|
when: always
|
||||||
|
|
||||||
|
|
||||||
##END_CLICK_TESTS
|
## END_CLICK_TESTS
|
||||||
|
Loading…
Reference in New Issue
Block a user