Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove restriction on file extension for some parsers #130

Closed

Conversation

littleforest
Copy link
Contributor

Problem

All files are now run through the matches?
method, which is causing issues for the lcov,
gcov, and simplecov parsers since the
matches? method checks that files have a
particular file extension. This is causing failures when users pass a custom file.

Solution

Always return true for the matches? method
for lcov, gcov, and simplecov parsers. If the
user does not specify a custom file, then
only files that match the extensions listed in
this method will be returned anyway due to the
globs method. If a user specifies a custom
file, we do not want to exclude the file just
because it does not have the correct extension.

Closes # (issue)

⚡ Summary

☑️ Checklist

  • Add specs

Problem
--------
All files are now run through the matches?
method, which is causing issues for the lcov,
gcov, and simplecov parsers since the
matches? method checks that files have a
particular file extension. This is causing failures
when users pass a custom file.

Solution
--------
Always return true for the matches? method
for lcov, gcov, and simplecov parsers. If the
user does not specify a custom file, then
only files that match the extensions listed in
this method will be returned anyway due to the
globs method. If a user specifies a custom
file, we do not want to exclude the file just
because it does not have the correct extension.
Copy link

coveralls-official bot commented May 22, 2024

Pull Request Test Coverage Report for Build 9194322489

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 93.958%

Totals Coverage Status
Change from base Build 9162110219: -0.01%
Covered Lines: 902
Relevant Lines: 960

💛 - Coveralls

@littleforest littleforest deleted the loosen-matches-restriction-for-some-parsers-2 branch May 22, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant