We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7fac4f commit b336f5eCopy full SHA for b336f5e
.github/workflows/syntax-checks.yml
@@ -92,6 +92,19 @@ jobs:
92
done
93
exit "$error"
94
95
+ - name: Run .C configs check
96
+ run: |
97
+ error=0
98
+ readarray -d '' files < \
99
+ <(find . -path ./.git -prune -false -or -type f -name '*.C' -print0)
100
+ for cfg in "${files[@]}"; do
101
+ if grep -q "\$O2DPG_ROOT" "$cfg" || grep -q "\${O2DPG_ROOT}" "$cfg";; then
102
+ error=1
103
+ echo "Deprecated O2DPG_ROOT detected in $cfg, replace with O2DPG_MC_CONFIG_ROOT" >&2
104
+ fi
105
+ done
106
+ exit "$error"
107
+
108
pylint:
109
name: Pylint
110
runs-on: ubuntu-latest
0 commit comments