mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-17 19:00:58 +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:
|
||||
replacement = Replacement(
|
||||
start=r"##START_DEVICE_TESTS",
|
||||
end=r"##END_DEVICE_TESTS",
|
||||
start=r"## START_DEVICE_TESTS",
|
||||
end=r"## END_DEVICE_TESTS",
|
||||
replacement=get_all_tests_text(get_device_test),
|
||||
)
|
||||
replace_content_between_markers(TEST_FILE, [replacement])
|
||||
@ -154,8 +154,8 @@ def fill_device_tests() -> None:
|
||||
|
||||
def fill_click_tests() -> None:
|
||||
replacement = Replacement(
|
||||
start=r"##START_CLICK_TESTS",
|
||||
end=r"##END_CLICK_TESTS",
|
||||
start=r"## START_CLICK_TESTS",
|
||||
end=r"## END_CLICK_TESTS",
|
||||
replacement=get_all_tests_text(get_click_test),
|
||||
)
|
||||
replace_content_between_markers(TEST_FILE, [replacement])
|
||||
|
@ -10,7 +10,7 @@ image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/trezor-firmware-en
|
||||
paths:
|
||||
- .venv/
|
||||
|
||||
##START_DEVICE_TESTS
|
||||
## START_DEVICE_TESTS
|
||||
core device test czech:
|
||||
stage: test
|
||||
<<: *gitlab_caching
|
||||
@ -300,9 +300,9 @@ core device R test spanish:
|
||||
junit: tests/junit.xml
|
||||
|
||||
|
||||
##END_DEVICE_TESTS
|
||||
## END_DEVICE_TESTS
|
||||
|
||||
##START_CLICK_TESTS
|
||||
## START_CLICK_TESTS
|
||||
core click test czech:
|
||||
stage: test
|
||||
<<: *gitlab_caching
|
||||
@ -584,4 +584,4 @@ core click R test spanish:
|
||||
when: always
|
||||
|
||||
|
||||
##END_CLICK_TESTS
|
||||
## END_CLICK_TESTS
|
||||
|
Loading…
Reference in New Issue
Block a user