From 4a5679976933352ffe0362cc121ee7a033668b4e Mon Sep 17 00:00:00 2001 From: Damian Alvarez <d.alvarez@fz-juelich.de> Date: Fri, 21 Jan 2022 16:47:07 +0100 Subject: [PATCH] To make the CI work in these cases --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b39736f8e..2c8341964 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,12 +45,11 @@ check_style: - 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" + - sg amber -c "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" + - sg cpmd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - elif [[ $(basename $i) == *NAMD* ]]; then - - echo sg namd eb --check-style --check-contrib $i - - sg namd eb --check-style --check-contrib $i || faulty="$faulty $i" + - sg namd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - else - eb --check-style --check-contrib $i || faulty="$faulty $i" - fi -- GitLab