Upload coverage results to codecov.io

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
Christophe Bedard 2020-05-16 19:40:56 -04:00
parent 111985d64b
commit 65867195f8

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 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 --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) -X gcovout
- colcon lcov-result --packages-select tracetools tracetools_test --verbose - colcon lcov-result --packages-select tracetools tracetools_test --verbose
- colcon coveragepy-result --packages-select $PACKAGES_LIST --verbose --coverage-report-args -m - colcon coveragepy-result --packages-select $PACKAGES_LIST --verbose --coverage-report-args -m
allow_failure: true allow_failure: true