From cea35f0a245881f3177b55d8933d59d3ea7402c5 Mon Sep 17 00:00:00 2001 From: soo-bak Date: Mon, 8 Jul 2024 20:32:13 +0900 Subject: [PATCH] :alembic: Test for CI System (#12) --- .github/workflows/UnitTestsAndCodeCoverage.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/UnitTestsAndCodeCoverage.yml b/.github/workflows/UnitTestsAndCodeCoverage.yml index c81a19d..1b8be1d 100644 --- a/.github/workflows/UnitTestsAndCodeCoverage.yml +++ b/.github/workflows/UnitTestsAndCodeCoverage.yml @@ -157,18 +157,17 @@ jobs: \| Total Methods \| \${summary.Totalmethods[0]} \| \| Method Coverage \| \${formattedMethodCoverage} \| - --- \`; } function formatCoverage(coverage) { const coverageNum = parseFloat(coverage); if (coverageNum === 100) { - return \`**\${coverageNum}%**\`; + return \`\${\\rm\\color{#00FF00}100%}\$\`; } else if (coverageNum >= 80) { - return \`_\${coverageNum}%_\`; + return \`\${\\rm\\color{#FFD700}\${coverageNum}%}\$\`; } else { - return \`~~\${coverageNum}%~~\`; + return \`\${\\rm\\color{#8B0000}\${coverageNum}%}\$\`; } }