Skip to content

Commit

Permalink
Exclude extension/libmaxminddb/ from clang static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 2, 2023
1 parent 76ecf73 commit b246fef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/clang-analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
pip install setuptools wheel
- name: Build and run analyzer
run: scan-build --status-bugs python setup.py build
# We exclude extension/libmaxminddb/ as libmaxminddb has its own workflow
# for this and we are not able to correct any issues with that code here.
run: scan-build --exclude extension/libmaxminddb/ --status-bugs python setup.py build
env:
CFLAGS: "-Werror -Wall -Wextra"
MAXMINDDB_REQUIRE_EXTENSION: 1

0 comments on commit b246fef

Please sign in to comment.