Skip to content

Commit d3f873e

Browse files
committed
fix:code check test
1 parent f1dcf94 commit d3f873e

5 files changed

Lines changed: 3 additions & 509 deletions

File tree

.github/scripts/checkstyle-pr.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ for module in "${!module_files[@]}"; do
118118
fi; \
119119
done && \
120120
mvn checkstyle:check \
121-
-Dcheckstyle.config.location="$PROJECT_ROOT/checkstyle/huawei-checkstyle.xml" \
121+
-Dcheckstyle.config.location="$PROJECT_ROOT/checkstyle/code-check-checkstyle.xml" \
122122
-Dcheckstyle.violationSeverity=warning \
123123
-Dcheckstyle.outputFormat=xml \
124124
-Dcheckstyle.includes="$file_list" 2>&1 )
@@ -147,7 +147,7 @@ for module in "${!module_files[@]}"; do
147147
echo " - 生成 HTML 报告(可选)..."
148148
set +e
149149
(cd "$module" && mvn checkstyle:checkstyle \
150-
-Dcheckstyle.config.location="$PROJECT_ROOT/checkstyle/huawei-checkstyle.xml" \
150+
-Dcheckstyle.config.location="$PROJECT_ROOT/checkstyle/code-check-checkstyle.xml" \
151151
-Dcheckstyle.includes="$file_list" \
152152
-Dcheckstyle.violationSeverity=warning) > /dev/null 2>&1
153153
set -e

app/codecheck/codecheck.xml

Lines changed: 0 additions & 253 deletions
This file was deleted.

0 commit comments

Comments
 (0)