Skip to content

Commit

Permalink
⚗️ Test for CI System (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
soo-bak committed Jul 7, 2024
1 parent 9d6833f commit 9faa98d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/UnitTestsAndCodeCoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 `
Expand Down

0 comments on commit 9faa98d

Please sign in to comment.