chore: rerun failures enabled
This commit is contained in:
parent
53f0fd1fa0
commit
dd2a2f132c
|
@ -151,9 +151,9 @@ pipeline {
|
|||
passwordVariable: 'TESTRAIL_PSW'
|
||||
)
|
||||
]) {
|
||||
/* Keep the --reruns flag first, or it won't work */
|
||||
sh """
|
||||
python3 -m pytest ${flags.join(" ")} \
|
||||
--ignore-flaky \
|
||||
python3 -m pytest --reruns=1 ${flags.join(" ")} \
|
||||
--disable-warnings \
|
||||
--alluredir=./allure-results
|
||||
"""
|
||||
|
|
|
@ -5,7 +5,7 @@ log_cli = true
|
|||
log_cli_level = INFO
|
||||
log_cli_format = %(asctime)s.%(msecs)03d %(levelname)7s CLI %(name)s %(message).5000s
|
||||
|
||||
addopts = --disable-warnings -p no:logging
|
||||
addopts = --reruns=1 --disable-warnings -p no:logging
|
||||
|
||||
markers =
|
||||
critical: Critical checks for every PR
|
||||
|
|
|
@ -8,6 +8,6 @@ atomacos==3.3.0; platform_system == "Darwin"
|
|||
allure-pytest==2.13.2
|
||||
testrail-api==1.12.0
|
||||
pyperclip==1.8.2
|
||||
pytest-rerunfailures==11.1.2
|
||||
pytest-rerunfailures==13.0
|
||||
pytest-ignore-flaky==2.1.0
|
||||
pytest-timeout==2.2.0
|
||||
|
|
Loading…
Reference in New Issue