Skip to content

Commit

Permalink
Convert coverage info
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiavrammsd committed Sep 7, 2024
1 parent b58ea5f commit 337900d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ build --cxxopt=-Wall
build --cxxopt=-Wextra
build --cxxopt=-Wpedantic
build --cxxopt=-Werror

coverage --experimental_fetch_all_coverage_outputs
5 changes: 5 additions & 0 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:

- run: bazel coverage poly_map_test --test_output=all

- name: Coverage
run: |
sudo apt install -y lcov \
&& lcov --capture --directory $(bazel info bazel-testlogs)/poly_map_test/ --output-file coverage.info
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
Expand Down

0 comments on commit 337900d

Please sign in to comment.