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

Run colcon-coveragepy-result to collect all Python coverage data #247

Merged
merged 3 commits into from
Jul 8, 2020
Merged

Run colcon-coveragepy-result to collect all Python coverage data #247

merged 3 commits into from
Jul 8, 2020

Conversation

christophebedard
Copy link
Member

colcon-coveragepy-result collects the Python coverage data for pure Python packages and for CMake packages with Python code (i.e. ros.ament_cmake, see ament/ament_cmake#226) and combines it all into one file (coveragepy/.coverage relative to the workspace).

I also added an example to the README which uses the coverage-pytest mixin. This is both a build and a test mixin (for ros.ament_cmake packages and pure Python packages, respectively).

Part of #238

Requires ros-tooling/setup-ros#208

Note: I'm not entirely sure why I have all these changes; I think I have the right packages/versions.

README.md Outdated Show resolved Hide resolved
Copy link

@piraka9011 piraka9011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once ros-tooling/setup-ros#208 and released so we can pin the version and test against it.

@thomas-moulard
Copy link
Member

ros-tooling/setup-ros#208

0.0.25 is released with the required patch

This was referenced Jun 30, 2020
@christophebedard
Copy link
Member Author

ros-tooling/setup-ros#208

0.0.25 is released with the required patch

@thomas-moulard I've opened #253 for the bump to setup-ros@0.0.25

@piraka9011
Copy link

@christophebedard could you please resolve any conflicts now that #253 is in

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
…mple

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
@christophebedard
Copy link
Member Author

@piraka9011 done. I rebased.

@piraka9011 piraka9011 merged commit 314689f into ros-tooling:master Jul 8, 2020
@christophebedard christophebedard deleted the 238-collect-all-python-coverage-data branch July 8, 2020 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants