Fix paths for codecov

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
Christophe Bedard 2020-06-26 16:00:39 -04:00
parent e33b1a2561
commit 8c0a8d13b6
2 changed files with 4 additions and 1 deletions

View file

@ -38,11 +38,12 @@ coverage:
stage: report
image: $BASE_IMAGE_ID:$DISTRO
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 test --event-handlers console_cohesion+ --packages-select $PACKAGES_LIST --mixin coverage-pytest
- colcon test-result --all
- bash <(curl -s https://codecov.io/bash)
- colcon coveragepy-result --packages-select $PACKAGES_LIST --verbose --coverage-report-args -m
- codecov --file coveragepy/.coverage
allow_failure: true
<<: *global_artifacts

2
codecov.yml Normal file
View file

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