From 04a1c1b1a5f011c0db71f9ebceb0b7fb2ff7d451 Mon Sep 17 00:00:00 2001 From: Adi Roiban Date: Sun, 6 Nov 2022 13:04:03 +0000 Subject: [PATCH] Use markdown report for diff-cover. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b554989..3757d50b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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.