mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 16:47:24 +00:00
* chore: Rerun failed test added * chore: Create Test Run in TestRail if it not exists #227
12 lines
413 B
Python
12 lines
413 B
Python
import os
|
|
from datetime import datetime
|
|
|
|
CI_BUILD_URL = os.getenv('BUILD_URL', '')
|
|
CI_NIGHTLY = True if 'nightly' in CI_BUILD_URL else False
|
|
|
|
RUN_NAME = os.getenv('TESTRAIL_RUN_NAME', f'Nightly regression {datetime.now():%d.%m.%Y}' if CI_NIGHTLY else '')
|
|
PROJECT_ID = os.getenv('TESTRAIL_PROJECT_ID', '')
|
|
URL = os.getenv('TESTRAIL_URL', '')
|
|
USR = os.getenv('TESTRAIL_USR', '')
|
|
PSW = os.getenv('TESTRAIL_PSW', '')
|