From 9faa98d3fd88158176e6313793e27094acf1906e Mon Sep 17 00:00:00 2001 From: soo-bak Date: Mon, 8 Jul 2024 03:53:36 +0900 Subject: [PATCH] :alembic: Test for CI System (#12) --- .github/workflows/UnitTestsAndCodeCoverage.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/UnitTestsAndCodeCoverage.yml b/.github/workflows/UnitTestsAndCodeCoverage.yml index 26c412a..8b2b983 100644 --- a/.github/workflows/UnitTestsAndCodeCoverage.yml +++ b/.github/workflows/UnitTestsAndCodeCoverage.yml @@ -133,22 +133,22 @@ jobs: } function createCommentBody(summary) { - const lineCoverage = summay.Linecoverage[0]; + const lineCoverage = summary.Linecoverage[0]; const methodCoverage = summary.Methodcoverage[0]; let formattedLineCoverage; let formattedMethodCoverage; if (lineCoverage === "100") { - formattedLineCoverage = `\\textbf{\\color{green}{\${summary.Linecoverage[0]}\\%}}`; - } else{ - formattedLineCoverage = `\\textbf{\\color{red}{\${summary.Linecoverage[0]}\\%}}`; + formattedLineCoverage = `\\textbf{\\color{green}{${summary.Linecoverage[0]}\\%}}`; + } else { + formattedLineCoverage = `\\textbf{\\color{red}{${summary.Linecoverage[0]}\\%}}`; } if (methodCoverage === "100") { - formattedMethodCoverage = `\\textbf{\\color{green}{\${summary.MethodCoverage[0]}\\%}}`; - } else{ - formattedMethodCoverage = `\\textbf{\\color{red}{\${summary.MethodCoverage[0]}\\%}}`; + formattedMethodCoverage = `\\textbf{\\color{green}{${summary.Methodcoverage[0]}\\%}}`; + } else { + formattedMethodCoverage = `\\textbf{\\color{red}{${summary.Methodcoverage[0]}\\%}}`; } return `