ci: add sonarqube file patterns

This commit is contained in:
Fu Hanxi
2021-07-29 15:55:03 +08:00
parent 1eb35eda77
commit d4c72cc844

View File

@@ -13,6 +13,9 @@
- ".gitlab/ci/static-code-analysis.yml" - ".gitlab/ci/static-code-analysis.yml"
- "**/*.py" - "**/*.py"
.patterns-sonarqube-files: &patterns-sonarqube-files
- "tools/ci/sonar_exclude_list.txt"
.patterns-example_test: &patterns-example_test .patterns-example_test: &patterns-example_test
- "tools/ci/python_packages/gitlab_api.py" - "tools/ci/python_packages/gitlab_api.py"
- "tools/ci/python_packages/idf_http_server_test/**/*" - "tools/ci/python_packages/idf_http_server_test/**/*"
@@ -237,6 +240,8 @@
changes: *patterns-c-files changes: *patterns-c-files
- <<: *if-dev-push - <<: *if-dev-push
changes: *patterns-python-files changes: *patterns-python-files
- <<: *if-dev-push
changes: *patterns-sonarqube-files
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# DO NOT place comments or maintain any code from this line # DO NOT place comments or maintain any code from this line