Skip to content

Commit

Permalink
Use markdown report for diff-cover.
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed Nov 6, 2022
1 parent 322ce25 commit 04a1c1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -292,8 +292,9 @@ jobs:
# Wrap output in markdown verbatim text.
echo '```' > coverage-report.txt
coverage report --show-missing >> coverage-report.txt
diff-cover --compare-branch origin/trunk coverage.xml >> coverage-report.txt
echo '```' >> coverage-report.txt
diff-cover --markdown-report diff-cover.md --compare-branch origin/trunk coverage.xml
cat diff-cover.md >> coverage-report.txt
# Use the generic JS script to call our custom script
# for sending a comment to a PR.
Expand Down

0 comments on commit 04a1c1b

Please sign in to comment.