diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d49d5a22b5de0015541ee1a4d4d05a124c75d5c1..387d08db2f62e895156d48c31f931aa788bf179b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,6 +44,14 @@ check_style: - echo "List of files to be checked $eb_list" - for i in $eb_list; do - echo "Checking $(basename $i) ..." + - if [[ $(basename $i) == *AMBER* ]]; then + - sg amber eb --check-style --check-contrib $i || faulty="$faulty $i" + - elif [[ $(basename $i) == *CPMD* ]]; then + - sg cpmd eb --check-style --check-contrib $i || faulty="$faulty $i" + - elif [[ $(basename $i) == *NAMD* ]]; then + - sg namd eb --check-style --check-contrib $i || faulty="$faulty $i" + - else - eb --check-style --check-contrib $i || faulty="$faulty $i" + - fi - done - if [ -n "$faulty" ]; then echo "Faulty EasyConfigs... $faulty"; exit 1; fi