Skip to content

Commit

Permalink
exclude needs_attention
Browse files Browse the repository at this point in the history
  • Loading branch information
NortySpock committed Dec 8, 2024
1 parent 185466f commit 45cfd97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ git diff HEAD '@{last month}' --name-only > ./cover/files_changed_in_last_month.
# so the header is also emitted and highlighted
echo "LINES RELEVANT MISSED" >> ./cover/files_changed_in_last_month.txt

mix test --cover > ./cover/test_coverage_by_file.txt
mix test --exclude needs_attention --cover > ./cover/test_coverage_by_file.txt

#grep matches the two files and emits only test coverage information about recently changed files, sorted by coverage percent
grep -F -f ./cover/files_changed_in_last_month.txt ./cover/test_coverage_by_file.txt | grep -A999 "LINES RELEVANT MISSED" | sort -g

0 comments on commit 45cfd97

Please sign in to comment.