From 65867195f861e93255a736730d718c870bfd8cc9 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Sat, 16 May 2020 19:40:56 -0400 Subject: [PATCH 1/2] Upload coverage results to codecov.io Signed-off-by: Christophe Bedard --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8579c40..36fb04e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,6 +64,7 @@ coverage: - colcon build --symlink-install --event-handlers console_cohesion+ --packages-up-to $PACKAGES_LIST --mixin coverage-gcc coverage-pytest --cmake-args -DBUILD_TESTING=ON --no-warn-unused-cli - colcon test --event-handlers console_cohesion+ --packages-select $PACKAGES_LIST --mixin coverage-pytest - colcon test-result --all + - bash <(curl -s https://codecov.io/bash) -X gcovout - colcon lcov-result --packages-select tracetools tracetools_test --verbose - colcon coveragepy-result --packages-select $PACKAGES_LIST --verbose --coverage-report-args -m allow_failure: true From b6a5c00e9bc2c546660bd22f07f4b3c5561aaa50 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Sun, 17 May 2020 11:16:59 -0400 Subject: [PATCH 2/2] Mention codecov coverage results in QD Signed-off-by: Christophe Bedard --- tracetools/QUALITY_DECLARATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracetools/QUALITY_DECLARATION.md b/tracetools/QUALITY_DECLARATION.md index 68a2575..193e1e7 100644 --- a/tracetools/QUALITY_DECLARATION.md +++ b/tracetools/QUALITY_DECLARATION.md @@ -110,7 +110,7 @@ This includes: Changes are required to make a best effort to keep or increase coverage before being accepted, but decreases are allowed if properly justified and accepted by reviewers. -Current coverage statistics can be viewed in the [results of the latest `coverage` CI job](https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing/pipelines/latest). +Current coverage statistics can be viewed [on codecov.io](https://codecov.io/gl/micro-ROS:ros_tracing/ros2_tracing) or in the [results of the latest `coverage` CI job](https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing/pipelines/latest). ### Performance [4.iv]