Skip to content

Commit

Permalink
Freeze ruamel.yaml version just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-kotliar committed Jul 14, 2020
1 parent bfc3f8e commit 128c203
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cwl_airflow/components/test/conformance.py
Expand Up @@ -147,10 +147,11 @@ def load_test_suite(args):
test_data = suite_data[i]
run_id = str(uuid.uuid4())
tool_location = get_absolute_path(test_data["tool"], suite_dir)
job_location = get_absolute_path(test_data["job"], suite_dir)
if "job" in test_data:
job_data = load_job(
workflow=tool_location,
job=get_absolute_path(test_data["job"], suite_dir)
job=job_location
)
else:
job_data = {}
Expand All @@ -163,7 +164,7 @@ def load_test_suite(args):
"index": i+1, # to know test case number, 1-based to correspond to --range
"finished": False # to indicate whether the test was finished or not
})

logging.info(f"Load test case {i+1} to run {tool_location} with {job_location} as {run_id}")
suite_data_filtered[run_id] = test_data # use "run_id" as a key for fast access when checking results
return suite_data_filtered

Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -76,6 +76,7 @@ def get_version():
"schema-salad==6.0.20200601095207",
"apache-airflow==1.10.10",
"cwltest==2.0.20200220223835",
"ruamel.yaml==0.16.5",
"jsonmerge",
"pyjwt",
"connexion",
Expand Down

0 comments on commit 128c203

Please sign in to comment.