Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Mar 23, 2023
1 parent 1f6ad25 commit d70e30d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/e2e/scripts/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ run_registry \
$upstream_container_name \
$ORAS_REGISTRY_FALLBACK_PORT

if ! [ -z ${COVERAGE_DUMP_ROOT} ]; then
rm ${e2e_root}/${COVERAGE_DUMP_ROOT} -rf
fi

echo " === setup coverage instrumenting == "
if [[ $GITHUB_REF_NAME == v* && $GITHUB_REF_TYPE == tag ]]; then
unset COVERAGE_DUMP_ROOT
fi

if ! [ -z ${COVERAGE_DUMP_ROOT} ]; then
rm ${e2e_root}/${COVERAGE_DUMP_ROOT} -rf
fi

echo " === run tests === "
ginkgo -r -p --succinct suite || fail=true

Expand All @@ -82,4 +82,4 @@ if [ "${fail}" = 'true' ]; then
echo '-------- upstream distribution trace -------------'
docker logs -t --tail 200 $upstream_container_name
exit 1
if
fi

0 comments on commit d70e30d

Please sign in to comment.