diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 26c66e0cd334a878c52c0a64c1e06b64340a154b..da28e5b6c4fafb33c0738eaf03ffcd441866573f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,17 +14,22 @@ before_script: - pip install virtualenv - virtualenv venv - source venv/bin/activate - - pip install cwltool + - pip install cwltool cwl-runner - cd test_data - tar -xvf ${TEST_DATASET_NAME} - cd $CI_PROJECT_DIR after_script: - echo "All done" - + +validate_cwl_scripts: + stage: validate_cwl_scripts + script: + - for file in `find . -name '*.cwl'`; do cwltool --validate $file; done + allow_failure: true test_DPPP_step: stage: test script: - pwd - - cwltool steps/DPPP.cwl msin=test_data/L570745_SB000_uv_first10.MS + - cwl-runner steps/DPPP.cwl msin=test_data/L570745_SB000_uv_first10.MS