Skip to content
Snippets Groups Projects
Commit 0e7c7687 authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

CI: also run dry-run

parent d5261525
Branches
Tags
No related merge requests found
...@@ -47,14 +47,19 @@ check_style: ...@@ -47,14 +47,19 @@ check_style:
- echo "Checking $(basename $i) ..." - echo "Checking $(basename $i) ..."
- if [[ $(basename $i) == *AMBER* ]]; then - if [[ $(basename $i) == *AMBER* ]]; then
- sg amber -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - 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 - elif [[ $(basename $i) == *CPMD* ]]; then
- sg cpmd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - 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 - elif [[ $(basename $i) == *NAMD* ]]; then
- sg namd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - 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 - elif [[ $(basename $i) == *Turbomole* ]]; then
- sg turbomol -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - sg turbomol -c "eb --check-style --check-contrib $i" || faulty="$faulty $i"
- sg turbomol -c "eb --dry-run $i" || faulty="$faulty $i"
- else - else
- eb --check-style --check-contrib $i || faulty="$faulty $i" - eb --check-style --check-contrib $i || faulty="$faulty $i"
- eb --dry-run $i || faulty="$faulty $i"
- fi - fi
- done - done
- if [ -n "$faulty" ]; then echo "Faulty EasyConfigs... $faulty"; exit 1; fi - if [ -n "$faulty" ]; then echo "Faulty EasyConfigs... $faulty"; exit 1; fi
...@@ -83,14 +88,19 @@ full_check_style: ...@@ -83,14 +88,19 @@ full_check_style:
- echo "Checking $(basename $i) ..." - echo "Checking $(basename $i) ..."
- if [[ $(basename $i) == *AMBER* ]]; then - if [[ $(basename $i) == *AMBER* ]]; then
- sg amber -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - 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 - elif [[ $(basename $i) == *CPMD* ]]; then
- sg cpmd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - 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 - elif [[ $(basename $i) == *NAMD* ]]; then
- sg namd -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - 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 - elif [[ $(basename $i) == *Turbomole* ]]; then
- sg turbomol -c "eb --check-style --check-contrib $i" || faulty="$faulty $i" - sg turbomol -c "eb --check-style --check-contrib $i" || faulty="$faulty $i"
- sg turbomol -c "eb --dry-run $i" || faulty="$faulty $i"
- else - else
- eb --check-style --check-contrib $i || faulty="$faulty $i" - eb --check-style --check-contrib $i || faulty="$faulty $i"
- eb --dry-run $i || faulty="$faulty $i"
- fi - fi
- done - done
- if [ -n "$faulty" ]; then echo "Faulty EasyConfigs... $faulty"; exit 1; fi - if [ -n "$faulty" ]; then echo "Faulty EasyConfigs... $faulty"; exit 1; fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment