Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Nov 29, 2023
1 parent 0bd02c8 commit 27a912c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .ci/publish_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,37 @@ trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
trap 'echo "$0: \"${last_command}\" command failed with exit code $?"' ERR

ARTIFACT_FOLDER=$1
WORKSPACE=/tmp/workspace

# install lcov
sudo apt-get -y -q install lcov

# clone the sources

mkdir -p $WORKSPACE/src
cd $WORKSPACE/src

LIST=mrs
ARCH=amd64

YAML_FILE=$LIST.yaml

REPOS=$(./.ci/parse_yaml.py $YAML_FILE $ARCH)

echo "$REPOS" | while IFS= read -r REPO; do

PACKAGE=$(echo "$REPO" | awk '{print $1}')
URL=$(echo "$REPO" | awk '{print $2}')
TEST=$(echo "$REPO" | awk '{print $6}')

if [[ "$TEST" != "True" ]]; then
continue
fi

git clone $URL $PACKAGE

done

# are there any coverage files?

ARGS=""
Expand Down
2 changes: 1 addition & 1 deletion .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ rosdep install --from-path .

echo "$0: building the workspace"

catkin build
catkin build --limit-status-rate 0.2

echo "$0: testing"

Expand Down

0 comments on commit 27a912c

Please sign in to comment.