Skip to content

Commit

Permalink
CI: Disable linters for test_rpcvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
syyyr committed Oct 24, 2023
1 parent 74b16c4 commit a9dc5ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/run-linter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ runs:
run: |
BASE_REF="${{github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before}}"
git fetch --depth=1 origin "$BASE_REF"
# FIXME: The clang on CI chokes on lambda captures of structured binding variables. Remove the blacklist of
# test_serialportsocket after the CI gets updated.
readarray -t CHANGED_FILES < <(git diff --name-only "$BASE_REF" | grep 'cpp$' | grep -v "libshviotqt/tests/serialportsocket/test_serialportsocket.cpp")
# FIXME: The clang on CI chokes on lambda captures of structured binding variables. Remove the blacklisting of
# the files after the CI gets updated. (AFAIK clang-16).
readarray -t CHANGED_FILES < <(git diff --name-only "$BASE_REF" | grep 'cpp$' | grep -v -e "libshviotqt/tests/serialportsocket/test_serialportsocket.cpp" -e "libshvchainpack/tests/test_rpcvalue.cpp")
if [[ "${#CHANGED_FILES[@]}" -eq 0 ]]; then
echo "No changed cpp files."
exit 0
Expand Down

0 comments on commit a9dc5ae

Please sign in to comment.