Skip to content

Commit

Permalink
Added echo
Browse files Browse the repository at this point in the history
  • Loading branch information
kdivya153 committed Sep 17, 2024
1 parent 6a544d1 commit 4695620
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ function runTests(){
'
echo "Create HTML and JSON assets for ${MODULE}"
npm i mochawesome-report-generator
echo $MODULE
echo "report/$MODULE"
echo "report/${MODULE}"
mkdir -p report/$MODULE
# Move the report.json to the correct location
if [ -f report.json ]; then
Expand All @@ -118,6 +121,8 @@ function runTests(){
echo "report.json not found for $MODULE"
exit 1
fi
ls -ltr
echo "HELLO "
jq -r '.' report/$MODULE/report.json > tmp.json && mv tmp.json report/$MODULE/report.json
jq '.report' report/$MODULE/report.json > tmp.json && mv tmp.json report/$MODULE/report.json

Expand Down

0 comments on commit 4695620

Please sign in to comment.