Skip to content

Commit

Permalink
(CAT-1618) - Remove unncessary filter for code cov
Browse files Browse the repository at this point in the history
Remove the filter for gitignored files. Code coverage will update as per
the diff, which naturally does not include files in .gitignore
  • Loading branch information
jordanbreen28 committed Jan 8, 2024
1 parent 45740ea commit 593b8d4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@
add_filter '/.vendor'
add_filter '/docs'
add_filter '/lib/pdk/version.rb'

# do not track gitignored files
# this adds about 4 seconds to the coverage check
# this could definitely be optimized
add_filter do |f|
# system returns true if exit status is 0, which with git-check-ignore means file is ignored
system("git check-ignore --quiet #{f.filename}")
end
end
end

Expand Down

0 comments on commit 593b8d4

Please sign in to comment.