Merge branch 'use-codecov' into 'master'

Upload coverage results to codecov.io

See merge request micro-ROS/ros_tracing/ros2_tracing!176
This commit is contained in:
Ingo Lütkebohle 2020-05-18 09:08:56 +00:00
commit f9d42bf199
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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]