-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathrun_tests.sh
More file actions
executable file
·13 lines (8 loc) · 1000 Bytes
/
run_tests.sh
File metadata and controls
executable file
·13 lines (8 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
cwl-tes --tes https://tes-dev.tsi.ebi.ac.uk/ cwl/tools/echo.cwl cwl/tools/echo-job.json
cwl-tes --tes https://tes-dev.tsi.ebi.ac.uk/ cwl/tools/sleep.cwl cwl/tools/sleep-job.json
## Post tests
# Post: sleep command
#curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' -F workflow_params=tests%2Fcwl%2Ftools%2Fsleep-job.yml -F workflow_type=cwl -F workflow_type_version=v1.0 -F tags=empty -F workflow_engine_parameters=empty -F workflow_url=tests%2Fcwl%2Ftools%2Fsleep.cwl -F workflow_attachment=empty 'http://localhost:7777/ga4gh/wes/v1/runs'
# Post: echo command
#curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' -F workflow_params=tests%2Fcwl%2Ftools%2Fecho-job.yml -F workflow_type=cwl -F workflow_type_version=v1.0 -F tags=empty -F workflow_engine_parameters=empty -F workflow_url=tests%2Fcwl%2Ftools%2Fecho.cwl -F workflow_attachment=empty 'http://localhost:7777/ga4gh/wes/v1/runs'