File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,11 @@ jobs:
3030
3131 - name : Lint the full source
3232 run : |
33+ shopt -s expand_aliases
3334 alias lintsource='find ./src -type f -not -name '*nvtx*' -exec command fortitude check {} \;' |
3435 lintsource |
3536 lintsource | wc -l | xargs -I{} sh -c '[ {} -gt 0 ] && exit 1 || exit 0'
3637
37- - name : Ensure kind is specified
38- run : fortitude check --file-extensions=f90,fpp,fypp --select=P001 ./src/**
39-
40- - name : Ensure subroutines are named
41- run : fortitude check --file-extensions=f90,fpp,fypp --select=S061 ./src/**
42-
4338 - name : No double precision intrinsics
4439 run : |
4540 ! grep -iR 'double_precision\|dsqrt\|dexp\|dlog\|dble\|dabs\|double\ precision\|real(8)\|real(4)\|dprod\|dmin\|dmax\|dfloat\|dreal\|dcos\|dsin\|dtan\|dsign\|dtanh\|dsinh\|dcosh\|d0' --exclude-dir=syscheck --exclude="*nvtx*" --exclude="*precision_select*" ./src/*
You can’t perform that action at this time.
0 commit comments