diff --git a/.github/workflows/_unit_test_coverage.yml b/.github/workflows/_unit_test_coverage.yml index edda441d7..17243768a 100644 --- a/.github/workflows/_unit_test_coverage.yml +++ b/.github/workflows/_unit_test_coverage.yml @@ -140,7 +140,7 @@ jobs: fi diff_cov_result_json="diff_coverage.json" if [ -f ${diff_cov_result_json} ];then - python ${push_file} ${diff_cov_file} ${target_path}/CoverageData + python ${push_file} ${diff_cov_result_json} ${target_path}/CoverageData target_path_stripped="${target_path#paddle-github-action/}" DIFF_COV_JSON_URL=https://paddle-github-action.bj.bcebos.com/${target_path_stripped}/CoverageData/${diff_cov_result_json} echo "diff_cov_result_json_url=${DIFF_COV_JSON_URL}" >> $GITHUB_OUTPUT diff --git a/scripts/coverage_run.sh b/scripts/coverage_run.sh index 29cc7cd03..6b6cbbf85 100644 --- a/scripts/coverage_run.sh +++ b/scripts/coverage_run.sh @@ -6,7 +6,7 @@ run_path="$DIR/../test/" cd ${run_path} ls -exclude=("ci_use") +exclude=("ci_use" "ce") for d in */ ; do dir_name="${d%/}" if [[ -d "$dir_name" ]]; then