File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,8 @@ jobs:
108108 echo "TEST_EXIT_CODE=${TEST_EXIT_CODE}" >> exit_code.env
109109 coverage combine coveragedata/
110110 coverage xml -o python_coverage_all.xml
111- sed -i.bak \"s#filename=\\\".*site-packages/fastdeploy#filename=\\\"fastdeploy#g\" python_coverage_all.xml
112111 COVERAGE_EXIT_CODE=0
113- diff-cover python_coverage_all.xml --diff-file=diff.txt --fail-under=80 || COVERAGE_EXIT_CODE=9
112+ diff-cover python_coverage_all.xml --diff-file=diff.txt --fail-under=80 || COVERAGE_EXIT_CODE=9
114113 echo "COVERAGE_EXIT_CODE=${COVERAGE_EXIT_CODE}" >> exit_code.env
115114 python scripts/generate_diff_coverage_xml.py diff.txt python_coverage_all.xml
116115 '
@@ -129,6 +128,7 @@ jobs:
129128 push_file=$(realpath bos_tools.py)
130129 python -m pip install bce-python-sdk==0.9.29
131130 diff_cov_file="diff_coverage.xml"
131+ diff_cov_file="python_coverage_all.xml"
132132 if [ -f ${diff_cov_file} ];then
133133 python ${push_file} ${diff_cov_file} ${target_path}
134134 target_path_stripped="${target_path#paddle-github-action/}"
You can’t perform that action at this time.
0 commit comments