Skip to content

Commit

Permalink
ci: update coverage actions to calculate coverage with baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
danctorres committed Jan 29, 2025
1 parent 9fabaaa commit 65340c7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,18 @@ jobs:
uses: actions/checkout@v4

- name: Run Coverage Script
run: bazelisk run //tools/coverage:lcov --platforms=//bazel/platforms:x86_64_linux -- -t :unit_tests
run: |
BAZEL_BIN=$(bazel info bazel-bin)
TEST_LOGS=$(bazel info bazel-testlogs)
echo "Bazel bin directory: $BAZEL_BIN"
echo "Test logs directory: $TEST_LOGS"
bazelisk run //tools/coverage:lcov \
--platforms=//bazel/platforms:x86_64_linux -- \
-b //... \
-t //:unit_tests \
-c "$BAZEL_BIN" \
-d "$TEST_LOGS" \
-s
shell: bash

0 comments on commit 65340c7

Please sign in to comment.