diff --git a/dist/index.js b/dist/index.js index 5553c54..963990a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -16791,7 +16791,7 @@ function getIndividualCoverageInfo(summaryInputData, coverageType, threshold, ig break; } const itemFound = summaryInputData.match(regex); - infoToReturn.actualCoverage = itemFound && itemFound[1] ? parseInt(itemFound[1]) : 0; + infoToReturn.actualCoverage = itemFound && itemFound[1] ? parseFloat(itemFound[1]) : 0; if (infoToReturn.threshold === 0) { infoToReturn.conclusion = 'neutral'; } else { diff --git a/src/main.js b/src/main.js index a5da387..534d920 100644 --- a/src/main.js +++ b/src/main.js @@ -223,7 +223,7 @@ function getIndividualCoverageInfo(summaryInputData, coverageType, threshold, ig } const itemFound = summaryInputData.match(regex); - infoToReturn.actualCoverage = itemFound && itemFound[1] ? parseInt(itemFound[1]) : 0; + infoToReturn.actualCoverage = itemFound && itemFound[1] ? parseFloat(itemFound[1]) : 0; if (infoToReturn.threshold === 0) { infoToReturn.conclusion = 'neutral'; } else {