Fix paths for codecov
Backport (with modification) of 8226ea6a58e63cb8f51780d5bc0e9a0df405c3e8 from !184 Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com> Fix paths
This commit is contained in:
parent
b2c7eaf1df
commit
ff116d59cf
2 changed files with 7 additions and 2 deletions
|
@ -61,12 +61,14 @@ 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-gcc coverage-pytest --cmake-args -DBUILD_TESTING=ON --no-warn-unused-cli
|
||||
- colcon lcov-result --initial
|
||||
- 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 lcov-result --packages-select tracetools tracetools_test --filter **/tracetools_test/test/* --verbose
|
||||
- colcon coveragepy-result --packages-select $PACKAGES_LIST --verbose --coverage-report-args -m
|
||||
- codecov -X gcovout --file lcov/total_coverage.info coveragepy/.coverage
|
||||
allow_failure: true
|
||||
<<: *global_artifacts
|
||||
|
||||
|
|
3
codecov.yml
Normal file
3
codecov.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
fixes:
|
||||
- "/builds/ros-tracing/ros2_tracing/::"
|
||||
- "/builds/ros-tracing/ros2_tracing/install/tracetools/::tracetools/"
|
Loading…
Add table
Add a link
Reference in a new issue