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
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment