Skip to content

Commit

Permalink
Just to see if scheduler works in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-kotliar committed Jul 8, 2020
1 parent 289f3b2 commit f06f928
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
- sed -i'.backup' -e 's/^dag_dir_list_interval =.*/dag_dir_list_interval = 60/g' ~/airflow/airflow.cfg
- sed -i'.backup' -e 's/^parallelism =.*/parallelism = 1/g' ~/airflow/airflow.cfg
- sed -i'.backup' -e 's/^sql_alchemy_conn.*/sql_alchemy_conn = mysql:\/\/airflow:airflow@127.0.0.1:6603\/airflow/g' ~/airflow/airflow.cfg
- airflow scheduler > /dev/null 2>&1 &
- airflow scheduler
- cwl-airflow api > /dev/null 2>&1 &
script: cwl-airflow test --suite workflows/tests/conformance_tests.yaml --spin --range 1
script: cwl-airflow test --suite workflows/tests/conformance_tests.yaml --spin --range 1 > /dev/null 2>&1 &

branches:
only:
Expand Down
7 changes: 3 additions & 4 deletions cwl_airflow/utilities/cwl.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,10 +510,9 @@ def fast_cwl_step_load(workflow, target_id, cwl_args=None, location=None):
"type": upstream_step_output["type"]
}

# TODO: looks like I don't need it here
# for key in ["secondaryFiles"]:
# if key in upstream_step_output:
# updated_workflow_input[key] = upstream_step_output[key]
# No need to copy "secondaryFiles" for outputs from other steps
# because they should be already included into the generated json
# report file

# Check if we have already added input based on the same "source"
# from another item from "in". Skip adding the same input twice.
Expand Down

0 comments on commit f06f928

Please sign in to comment.