Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coveragepy #8

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile.debian11
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -

# setup environment
ENV LANG C.UTF-8

Check warning on line 71 in Dockerfile.debian11

View workflow job for this annotation

GitHub Actions / build_images_debian11 (humble)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 71 in Dockerfile.debian11

View workflow job for this annotation

GitHub Actions / build_images_debian11 (iron)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV LC_ALL C.UTF-8

Check warning on line 72 in Dockerfile.debian11

View workflow job for this annotation

GitHub Actions / build_images_debian11 (humble)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 72 in Dockerfile.debian11

View workflow job for this annotation

GitHub Actions / build_images_debian11 (iron)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ARG ROS_DISTRO
# Environment variables defined using the ENV instruction always override an ARG instruction of the same name.
ENV ROS_DISTRO=${ROS_DISTRO:-rolling}
Expand All @@ -86,6 +86,7 @@
python3-vcstool \
python3-pydocstyle \
python3-flake8 \
python3-coverage \
&& \
: "remove cache" && \
rm -rf /var/lib/apt/lists/*
Expand All @@ -103,7 +104,7 @@
colcon metadata update

# install dependencies via apt
ENV DEBCONF_NOWARNINGS yes

Check warning on line 107 in Dockerfile.debian11

View workflow job for this annotation

GitHub Actions / build_images_debian11 (humble)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 107 in Dockerfile.debian11

View workflow job for this annotation

GitHub Actions / build_images_debian11 (iron)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

# install and activate ccache, lld, cppcheck
RUN \
Expand All @@ -125,7 +126,7 @@

# ---- ROS ----
# clone source, ROS core
ENV ROS2_WS /opt/ros2_ws

Check warning on line 129 in Dockerfile.debian11

View workflow job for this annotation

GitHub Actions / build_images_debian11 (humble)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 129 in Dockerfile.debian11

View workflow job for this annotation

GitHub Actions / build_images_debian11 (iron)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
RUN mkdir -p $ROS2_WS/src
WORKDIR $ROS2_WS
ADD ros-controls.$ROS_DISTRO.repos .
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.debian12
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -

# setup environment
ENV LANG C.UTF-8

Check warning on line 69 in Dockerfile.debian12

View workflow job for this annotation

GitHub Actions / build_images_debian12 (jazzy)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 69 in Dockerfile.debian12

View workflow job for this annotation

GitHub Actions / build_images_debian12 (rolling)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV LC_ALL C.UTF-8

Check warning on line 70 in Dockerfile.debian12

View workflow job for this annotation

GitHub Actions / build_images_debian12 (jazzy)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 70 in Dockerfile.debian12

View workflow job for this annotation

GitHub Actions / build_images_debian12 (rolling)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ARG ROS_DISTRO
# Environment variables defined using the ENV instruction always override an ARG instruction of the same name.
ENV ROS_DISTRO=${ROS_DISTRO:-iron}
Expand All @@ -84,6 +84,7 @@
python3-vcstool \
python3-ament-pep257 \
python3-flake8 \
python3-coverage \
&& \
# colcon-devtools>0.2.3 is not released for debian12, so override it from pip
apt-get remove -y python3-colcon-devtools && \
Expand All @@ -104,7 +105,7 @@
colcon metadata update

# install dependencies via apt
ENV DEBCONF_NOWARNINGS yes

Check warning on line 108 in Dockerfile.debian12

View workflow job for this annotation

GitHub Actions / build_images_debian12 (jazzy)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 108 in Dockerfile.debian12

View workflow job for this annotation

GitHub Actions / build_images_debian12 (rolling)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

# install and activate ccache, lld, cppcheck
RUN \
Expand All @@ -118,7 +119,7 @@

# ---- ROS ----
# clone source, ROS core
ENV ROS2_WS /opt/ros2_ws

Check warning on line 122 in Dockerfile.debian12

View workflow job for this annotation

GitHub Actions / build_images_debian12 (jazzy)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 122 in Dockerfile.debian12

View workflow job for this annotation

GitHub Actions / build_images_debian12 (rolling)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
RUN mkdir -p $ROS2_WS/src
WORKDIR $ROS2_WS
ADD ros-controls.$ROS_DISTRO.repos .
Expand Down