Skip to content

Commit

Permalink
add codecov-action
Browse files Browse the repository at this point in the history
Signed-off-by: Keisuke Shima <[email protected]>
  • Loading branch information
KeisukeShima committed Jan 25, 2022
1 parent 10bd1c0 commit f2989ed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
build-depends-repos: build_depends.repos

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: lcov/total_coverage.info,coveragepy/.coverage
fail_ci_if_error: true
verbose: true

clang-tidy:
runs-on: ubuntu-latest
container: ros:galactic
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ jobs:
rosdistro: galactic
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: build_depends.repos

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: lcov/total_coverage.info,coveragepy/.coverage
fail_ci_if_error: true
verbose: true

0 comments on commit f2989ed

Please sign in to comment.