Skip to content

Commit 5ed97df

Browse files
committed
ci(core): enable retries only for HW tests
[no changelog]
1 parent 8a5f599 commit 5ed97df

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/core-hw.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ jobs:
3939
STORAGE_INSECURE_TESTING_MODE: 1
4040
BOOTLOADER_DEVEL: ${{ matrix.model == 'T2B1' && '1' || '0' }}
4141
# TODO: enable SD-related tests after fixing #4924
42-
TESTOPTS: "-m 'not sd_card' -k 'not authenticate' --durations=50 --session-timeout 19800" # 5.5h pytest global timeout
42+
# 5.5h pytest global timeout
43+
TESTOPTS: >-
44+
-m 'not sd_card' -k 'not authenticate'
45+
--durations=50
46+
--session-timeout 19800
47+
--retries=5
48+
--retry-delay=1
4349
TT_UHUB_PORT: 1
4450
timeout-minutes: 360 # 6h CI job timeout
4551
steps:

setup.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ addopts =
4040
-rfER
4141
--strict-markers
4242
--random-order
43-
--retries=5
44-
--retry-delay=1
4543
testpaths = tests crypto storage python/tests
4644
xfail_strict = true
4745
junit_family = xunit2

0 commit comments

Comments
 (0)