File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -223,24 +223,6 @@ jobs:
223223 with :
224224 platform-release : " ${{ env.platform }}:${{ env.release }}"
225225 run : |
226- # Run clang-tidy on specific files to check for bugprone-unchecked-optional-access warnings
227- echo "Running clang-tidy on PR files to check for bugprone-unchecked-optional-access warnings..."
228- PR_FILES=(
229- "src/algorithms/tracking/TrackPropagation.cc"
230- "src/algorithms/tracking/ActsToTracks.cc"
231- "src/benchmarks/reconstruction/tracking_efficiency/TrackingEfficiency_processor.cc"
232- "src/algorithms/tracking/TrackProjector.cc"
233- )
234- for file in "${PR_FILES[@]}"; do
235- if [[ -f "$file" ]]; then
236- echo "Checking $file for clang-tidy warnings..."
237- run-clang-tidy -p build -checks=bugprone-unchecked-optional-access -extra-arg='-std=c++20' "$file" || true
238- else
239- echo "File $file not found"
240- fi
241- done
242-
243- # Original clang-tidy logic on changed files
244226 git diff ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request.base.sha }} | clang-tidy-diff -p 1 -path build -quiet -export-fixes clang_tidy_fixes.yaml -extra-arg='-std=c++20' -clang-tidy-binary run-clang-tidy
245227 - name : Run clang-tidy on all files
246228 uses : eic/run-cvmfs-osg-eic-shell@main
You can’t perform that action at this time.
0 commit comments