Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
chore: added src/lib/* to the CI coverage filter (#20)
Browse files Browse the repository at this point in the history
**Motivation:**

CI coverage is not passing due to 0% coverage for all of the `.sol`
files in the `src/lib/` directory

**Modifications:**

added src/lib to the ci filter

**Result:**

Coverage will be more accurate
  • Loading branch information
dd0sxx authored Dec 7, 2023
1 parent db98fef commit b705a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Filter directories
run: |
sudo apt update && sudo apt install -y lcov
lcov --remove lcov.info 'test/*' 'script/*' --output-file lcov.info --rc lcov_branch_coverage=1
lcov --remove lcov.info 'test/*' 'script/*' 'src/lib/*' --output-file lcov.info --rc lcov_branch_coverage=1
# This step posts a detailed coverage report as a comment and deletes previous comments on
# each push. The below step is used to fail coverage if the specified coverage threshold is
Expand Down

0 comments on commit b705a42

Please sign in to comment.