Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Commit

Permalink
Fix codecov path (#33)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Moulard <tmoulard@amazon.com>
  • Loading branch information
Thomas Moulard committed Dec 11, 2019
1 parent fc5f597 commit 9391954
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ jobs:
package-name: system_metrics_collector
colcon-mixin-name: coverage-gcc
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
# GitHub action support is currently broken on the original upstream
# repository. This fork fixes support until the problem is fixed upstream.
- uses: ros-tooling/codecov-action@master
- uses: codecov/codecov-action@v1
# Prevent being rate limited by only reporting coverage from the Ubuntu
# build.
if: matrix.os == 'ubuntu-18.04'
with:
token: ${{secrets.CODECOV_TOKEN}}
token: ${{ secrets.CODECOV_TOKEN }}
file: ros2_ws/lcov/total_coverage.info
# codecov-action is a Docker action, and as such can only run on Linux.
flags: unittests
name: codecov-umbrella
yml: ./codecov.yml
fail_ci_if_error: true
- uses: actions/upload-artifact@master
with:
name: colcon-logs-${{ matrix.os }}
Expand Down
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fixes:
- "ros2_ws/src/system_metrics_collector/::"

0 comments on commit 9391954

Please sign in to comment.