Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Dec 2, 2023
1 parent a885bfd commit 3eefcf7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ echo "$0: unpack the workspace"
mv $ARTIFACT_FOLDER/workspace.tar.gz /tmp
cd /tmp
tar -xvzf workspace.tar.gz
source $WORKSPACE/devel/setup.bash

## | ---------------- clone the tested package ---------------- |

Expand All @@ -53,11 +52,13 @@ echo "$THIS_TEST_REPOS" | while IFS= read -r REPO; do
URL=$(echo "$REPO" | awk '{print $2}')
BRANCH=$(echo "$REPO" | awk '{print $3}')

[ ! -e $PACKAGE ] && echo "$0: cloning '$URL --depth 1 --branch $BRANCH' into '$PACKAGE'"
[ ! -e $PACKAGE ] && git clone $URL --recurse-submodules --shallow-submodules --depth 1 --branch $BRANCH $PACKAGE
[ ! -e ${PACKAGE} ] && echo "$0: cloning '$URL --depth 1 --branch $BRANCH' into '$PACKAGE'"
[ ! -e ${PACKAGE} ] && git clone $URL --recurse-submodules --shallow-submodules --depth 1 --branch $BRANCH $PACKAGE

done

source $WORKSPACE/devel/setup.bash

echo "$0: installing rosdep dependencies"

rosdep install --from-path .
Expand Down

0 comments on commit 3eefcf7

Please sign in to comment.