From 396baa3637f250d1ff096be6dead238a8dc5b624 Mon Sep 17 00:00:00 2001 From: Mikl Wolfe Date: Sat, 28 Dec 2024 20:28:15 -0700 Subject: [PATCH] feat(test): update coverage output --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2cfed56..d0259f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,8 +29,8 @@ jobs: - name: Run tests with coverage run: | npm run test:coverage -- --coverageReporters=text-summary 2>&1 \ - | sed '/^=============================== Coverage summary ===============================/d' \ - | sed '/^================================================================================/d' \ + | sed -n '/^=============================== Coverage summary ===============================/,/^================================================================================/p' \ > coverage.txt - echo "## Coverage Summary" >> $GITHUB_STEP_SUMMARY + echo "\`\`\`" >> $GITHUB_STEP_SUMMARY cat coverage.txt >> $GITHUB_STEP_SUMMARY + echo "\`\`\`" >> $GITHUB_STEP_SUMMARY