Merge branch 'fix-codecov-paths' into 'master'

Fix coverage paths

See merge request micro-ROS/ros_tracing/tracetools_analysis!80
This commit is contained in:
Christophe Bedard 2020-06-26 21:13:12 +00:00
commit ce7db8bcfe
3 changed files with 5 additions and 1 deletions

View file

@ -38,11 +38,12 @@ coverage:
stage: report stage: report
image: $BASE_IMAGE_ID:$DISTRO image: $BASE_IMAGE_ID:$DISTRO
script: script:
- pip3 install -U codecov
- colcon build --symlink-install --event-handlers console_cohesion+ --packages-up-to $PACKAGES_LIST --mixin coverage-pytest --cmake-args -DBUILD_TESTING=ON --no-warn-unused-cli - colcon build --symlink-install --event-handlers console_cohesion+ --packages-up-to $PACKAGES_LIST --mixin 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 --event-handlers console_cohesion+ --packages-select $PACKAGES_LIST --mixin coverage-pytest
- colcon test-result --all - colcon test-result --all
- bash <(curl -s https://codecov.io/bash)
- colcon coveragepy-result --packages-select $PACKAGES_LIST --verbose --coverage-report-args -m - colcon coveragepy-result --packages-select $PACKAGES_LIST --verbose --coverage-report-args -m
- codecov --file coveragepy/.coverage
allow_failure: true allow_failure: true
<<: *global_artifacts <<: *global_artifacts

View file

@ -1,6 +1,7 @@
# tracetools_analysis # tracetools_analysis
[![pipeline status](https://gitlab.com/micro-ROS/ros_tracing/tracetools_analysis/badges/master/pipeline.svg)](https://gitlab.com/micro-ROS/ros_tracing/tracetools_analysis/commits/master) [![pipeline status](https://gitlab.com/micro-ROS/ros_tracing/tracetools_analysis/badges/master/pipeline.svg)](https://gitlab.com/micro-ROS/ros_tracing/tracetools_analysis/commits/master)
[![codecov](https://codecov.io/gl/micro-ROS:ros_tracing/tracetools_analysis/branch/master/graph/badge.svg)](https://codecov.io/gl/micro-ROS:ros_tracing/tracetools_analysis)
Analysis tools for [ROS 2 tracing](https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing). Analysis tools for [ROS 2 tracing](https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing).

2
codecov.yml Normal file
View file

@ -0,0 +1,2 @@
fixes:
- "/builds/micro-ROS/ros_tracing/tracetools_analysis/::"