Skip to content
Snippets Groups Projects
Commit bae9076e authored by David Rafferty's avatar David Rafferty
Browse files

Add steps from master and disable target test

Former-commit-id: 77046334 [formerly 4bd8aea5]
Former-commit-id: 4b482cc3
Former-commit-id: 20e326a4
parent 55b7dd30
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ variables: ...@@ -10,6 +10,7 @@ variables:
stages: stages:
- download_data - download_data
- validate_cwl_scripts - validate_cwl_scripts
- test_steps
- test_full - test_full
before_script: before_script:
...@@ -37,6 +38,27 @@ validate_scripts: ...@@ -37,6 +38,27 @@ validate_scripts:
script: script:
- for file in `find . -name 'steps/*.cwl'`; do cwltool --validate $file; done - for file in `find . -name 'steps/*.cwl'`; do cwltool --validate $file; done
blsmooth:
stage: test_steps
allow_failure: true
needs: ["download_data"]
script:
- cwltool --no-container steps/blsmooth.cwl test_jobs/blsmooth.json
find_skymodel_cal:
stage: test_steps
allow_failure: true
needs: ["download_data"]
script:
- cwltool --no-container --preserve-environment PYTHONPATH steps/find_skymodel_cal.cwl test_jobs/find_skymodel_cal.json
check_ateam_separation:
stage: test_steps
allow_failure: true
needs: ["download_data"]
script:
- cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/check_ateam_separation.cwl test_jobs/check_ateam_separation.json
run_hba_full: run_hba_full:
stage: test_full stage: test_full
allow_failure: true allow_failure: true
...@@ -44,6 +66,6 @@ run_hba_full: ...@@ -44,6 +66,6 @@ run_hba_full:
script: script:
- cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH workflows/HBA_calibrator.cwl test_jobs/HBA_calibrator.json - cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH workflows/HBA_calibrator.cwl test_jobs/HBA_calibrator.json
- test_jobs/check_workflow_results.py results /builds/eosc/prefactor3-cwl/data/results_calibrator - test_jobs/check_workflow_results.py results /builds/eosc/prefactor3-cwl/data/results_calibrator
- rm -rf results # - rm -rf results
- cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH workflows/HBA_target.cwl test_jobs/HBA_target.json # - cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH workflows/HBA_target.cwl test_jobs/HBA_target.json
- test_jobs/check_workflow_results.py results /builds/eosc/prefactor3-cwl/data/results_target # - test_jobs/check_workflow_results.py results /builds/eosc/prefactor3-cwl/data/results_target
{ {
"msin": { "msin": {
"class": "Directory", "class": "Directory",
"path": "../data/L570745_SB003_uv_first10.MS" "path": "../data/L667520_SB000_uv.MS"
}, },
"do_smooth": false "do_smooth": false
} }
{ {
"ms": { "ms": {
"class": "Directory", "class": "Directory",
"path": "../data/L570745_SB001_uv_first10.MS" "path": "../data/L667520_SB000_uv.MS"
} }
} }
{ {
"msin": { "msin": {
"class": "Directory", "class": "Directory",
"path": "../data/L570745_SB000_uv_first10.MS" "path": "../data/L667520_SB000_uv.MS"
}, },
"skymodels": { "skymodels": {
"class": "Directory", "class": "Directory",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment