Skip to content

Commit

Permalink
fix:codecover scan package (#1327)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun authored Feb 4, 2024
1 parent fcfec62 commit c4ae7cf
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions test/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,55 @@ for val in ${apiserver_pkg[@]}; do
coverpkg="${coverpkg},${val}"
fi
done
for val in ${auth_pkg[@]}; do
if [ "${coverpkg}" == "" ]; then
coverpkg="${val}"
else
coverpkg="${coverpkg},${val}"
fi
done
for val in ${cache_pkg[@]}; do
if [ "${coverpkg}" == "" ]; then
coverpkg="${val}"
else
coverpkg="${coverpkg},${val}"
fi
done
for val in ${discover_pkg[@]}; do
if [ "${coverpkg}" == "" ]; then
coverpkg="${val}"
else
coverpkg="${coverpkg},${val}"
fi
done
for val in ${config_pkg[@]}; do
if [ "${coverpkg}" == "" ]; then
coverpkg="${val}"
else
coverpkg="${coverpkg},${val}"
fi
done
for val in ${store_pkg[@]}; do
if [ "${coverpkg}" == "" ]; then
coverpkg="${val}"
else
coverpkg="${coverpkg},${val}"
fi
done
for val in ${plugin_pkg[@]}; do
if [ "${coverpkg}" == "" ]; then
coverpkg="${val}"
else
coverpkg="${coverpkg},${val}"
fi
done
for val in ${common_pkg[@]}; do
if [ "${coverpkg}" == "" ]; then
coverpkg="${val}"
else
coverpkg="${coverpkg},${val}"
fi
done

echo "${coverpkg}"

Expand Down

0 comments on commit c4ae7cf

Please sign in to comment.