Skip to content

Commit

Permalink
tools: cron: improve test case limit parameter
Browse files Browse the repository at this point in the history
This enables to run limited amount of test cases from various profiles/services
  • Loading branch information
piotrnarajowski committed Jul 30, 2024
1 parent 724fb15 commit a2e04eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/cron/autopts_cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,10 @@ def sigint_handler(sig, frame):

args = CliParser().parse_args()

config_path = 'C:/Users/Piotr/auto-pts/autopts/bot/cron_config.py'

global cron_config
cron_config = load_module_from_path(args.config_path)
cron_config = load_module_from_path(config_path)

if not cron_config:
sys.exit(f'Could not load cron config from path {args.config_path}')
Expand Down

0 comments on commit a2e04eb

Please sign in to comment.