Skip to content

Commit

Permalink
Trying to add the redable coverage report in the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachinbisht27 committed Sep 13, 2023
1 parent 8015797 commit 2f735b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ jobs:
cat coverage_report.txt >> coverage_comment.txt
formatted_comment=$(cat coverage_comment.txt | jq -Rs '.')
formatted_comment=$(echo "$formatted_comment" | sed 's/\x1B\[[0-9;]*[JKmsu]//g')
formatted_comment=$(cat coverage_comment.txt | jq -Rs '.' | sed -r 's/\x1B\[[0-9;]*[JKmsu]//g')
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
Expand Down

0 comments on commit 2f735b2

Please sign in to comment.