Skip to content
Snippets Groups Projects
Commit e7227075 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

Use set -x to better see what happens

parent eba0865e
Branches sasc2164
No related tags found
No related merge requests found
...@@ -71,15 +71,19 @@ jobs: ...@@ -71,15 +71,19 @@ jobs:
womtool validate $WDL_FILE womtool validate $WDL_FILE
done done
- name: run miniwdl check - name: run miniwdl check
run: bash -c 'miniwdl check $(git ls-files *.wdl)' run: |
set -x
bash -c 'miniwdl check $(git ls-files *.wdl)'
- name: Check copyright headers - name: Check copyright headers
run: | run: |
set -x
for WDL_FILE in $(git diff --name-only origin/${{github.base_ref}} | grep -E '*.wdl$'); do for WDL_FILE in $(git diff --name-only origin/${{github.base_ref}} | grep -E '*.wdl$'); do
grep Copyright $WDL_FILE || bash -c "echo No copyright header in $WDL_FILE && exit 1" grep Copyright $WDL_FILE || bash -c "echo No copyright header in $WDL_FILE && exit 1"
done done
- name: Check parameter_meta for inputs - name: Check parameter_meta for inputs
run: | run: |
set -x
for WDL_FILE in $(git diff --name-only origin/${{github.base_ref}} | grep -E '*.wdl$'); do for WDL_FILE in $(git diff --name-only origin/${{github.base_ref}} | grep -E '*.wdl$'); do
wdl-aid --strict $WDL_FILE > /dev/null 2> wdl-aid_stderr || wdl-aid --strict $WDL_FILE > /dev/null 2> wdl-aid_stderr ||
if grep -z 'ValueError: Missing parameter_meta for inputs:' wdl-aid_stderr if grep -z 'ValueError: Missing parameter_meta for inputs:' wdl-aid_stderr
......
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