Skip to content

Commit

Permalink
⚗️ Test for CI System (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
soo-bak committed Jul 28, 2024
1 parent 6179b87 commit f2ce55b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/combine-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function run() {
const editmodeResults = await parseXML('artifacts/Coverage results for editmode/Report/Summary.xml');

const combinedResults = combineResults(playmodeResults, editmodeResults);
const commentBody = createCommentBody(combinedResults);
const commentBody = createCommentBody(playmodeResults, editmodeResults, combinedResults);

await deleteExistingCommentAndCreateNew(commentBody);
} catch (error) {
Expand Down Expand Up @@ -69,7 +69,7 @@ function createCommentBody(playmodeResults, editmodeResults, summary) {
| Files | ${summary.Files[0]} | - |
| Covered Lines | **${summary.Coveredlines[0]}** | **Play : ${playmodeResults.Coveredlines[0]}**<br> **Edit : ${editmodeResults.Coveredlines[0]}** |
| Uncovered Lines | ${summary.Uncoveredlines[0]} | Play : ${playmodeResults.Uncoveredlines[0]}<br> Edit: ${editmodeResults.Uncoveredlines[0]} |
| Coverable Lines | ${summary.Coverablelines[0]} | Play : ${playmodeResults.Coverablelines[0]}<br> Edit : ${editmodeResults.Coverablelines[0]} |
| Coverable Lines | ${summary.Coverablelines[0]} | Play : ${playmodeResults.Coverablelines[0]}<br> Edit : ${editmodeResults.Coverablelines[0]} |
| Total Lines | **${summary.Totallines[0]}** | - |
| Line Coverage | ${formatCoverage(lineCoverage)} | Play : ${formatCoverage(playModeLineCoverage)}<br> Edit : ${formatCoverage(EditModeLineCoverage)} |
| Covered Methods | **${summary.Coveredmethods[0]}** | Play : ${playmodeResults.Coveredmethods[0]}<br> Edit : ${editmodeResults.Coveredmethods[0]} |
Expand Down

0 comments on commit f2ce55b

Please sign in to comment.