Skip to content

Commit 7d05447

Browse files
Copilotwdconinc
andcommitted
Revert clang-tidy workflow to original state
Co-authored-by: wdconinc <[email protected]>
1 parent 28b7f2c commit 7d05447

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

.github/workflows/linux-eic-shell.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)