Skip to content

Commit

Permalink
Fix the lcov invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielealbano committed Jun 23, 2020
1 parent 0d5a595 commit e2a62d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# changelog for lcov-action

## 1.0.1 [2020-06-23]

* Drop the -i from the initial lcov invocation, it skips reading the actual code coverage from the data

## 1.0.0 [2020-06-22]

* initial release
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cd $GITHUB_WORKSPACE
mkdir -p $TEMP_LCOV_PATH

# Generate the initial lcov version and strips out anything related to /usr
/usr/bin/lcov --gcov-tool $INPUT_GCOV_PATH -i -c -d . -o $TEMP_LCOV_PATH/info
/usr/bin/lcov --gcov-tool $INPUT_GCOV_PATH -c -d . -o $TEMP_LCOV_PATH/info
/usr/bin/lcov --gcov-tool $INPUT_GCOV_PATH -r $TEMP_LCOV_PATH/info '/usr/*' -o $TEMP_LCOV_PATH/filtered

if [ -n "$INPUT_REMOVE_PATTERNS" ];
Expand Down

0 comments on commit e2a62d9

Please sign in to comment.