Skip to content

Commit

Permalink
add scheduler trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
oaksharks committed Jul 10, 2023
1 parent ac1563c commit 8b8d8d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/python-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# since * is a special character in YAML you have to quote this string
- cron: '0 0 5 1/7 * ?'

jobs:
test_default:
Expand Down
2 changes: 1 addition & 1 deletion hypernets/hyperctl/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def run_generate_job_specs(template, output):
# load file
config_dict = load_yaml(yaml_file)

# 1.3. check values should be array
# 1.3. check values should be a list
assert "params" in config_dict

params = config_dict['params']
Expand Down

0 comments on commit 8b8d8d8

Please sign in to comment.