diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b5025f817c5daf3e11aba79fe56c2c4848c5aac..04d7f42a69ff22c0b3f82aa43e88e19d91d80d7f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,14 +47,19 @@ check_style: - echo "Checking $(basename $i) ..." - if [[ $(basename $i) == *AMBER* ]]; then - sg amber -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" + - sg amber -c "eb --dry-run $i" || faulty="$faulty $i" - elif [[ $(basename $i) == *CPMD* ]]; then - sg cpmd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" + - sg cpmd -c "eb --dry-run $i" || faulty="$faulty $i" - elif [[ $(basename $i) == *NAMD* ]]; then - sg namd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" + - sg namd -c "eb --dry-run $i" || faulty="$faulty $i" - elif [[ $(basename $i) == *Turbomole* ]]; then - sg turbomol -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" + - sg turbomol -c "eb --dry-run $i" || faulty="$faulty $i" - else - eb --check-style --check-contrib $i || faulty="$faulty $i" + - eb --dry-run $i || faulty="$faulty $i" - fi - done - if [ -n "$faulty" ]; then echo "Faulty EasyConfigs... $faulty"; exit 1; fi @@ -83,14 +88,19 @@ full_check_style: - echo "Checking $(basename $i) ..." - if [[ $(basename $i) == *AMBER* ]]; then - sg amber -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" + - sg amber -c "eb --dry-run $i" || faulty="$faulty $i" - elif [[ $(basename $i) == *CPMD* ]]; then - sg cpmd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" + - sg cpmd -c "eb --dry-run $i" || faulty="$faulty $i" - elif [[ $(basename $i) == *NAMD* ]]; then - sg namd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" + - sg namd -c "eb --dry-run $i" || faulty="$faulty $i" - elif [[ $(basename $i) == *Turbomole* ]]; then - sg turbomol -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" + - sg turbomol -c "eb --dry-run $i" || faulty="$faulty $i" - else - eb --check-style --check-contrib $i || faulty="$faulty $i" + - eb --dry-run $i || faulty="$faulty $i" - fi - done - if [ -n "$faulty" ]; then echo "Faulty EasyConfigs... $faulty"; exit 1; fi