Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneTR committed Jun 14, 2024
1 parent 24547f7 commit d8ab405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/display_results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function display_results {
output="/tmp/eco-ci/output.txt"
output_pr="/tmp/eco-ci/output-pr.txt"

if [[ $(wc -l < /tmp/eco-ci/energy-total.txt) -gt 0 ]]; then
if [[ $(wc -l < /tmp/eco-ci/energy-total.txt) -eq 0 ]]; then
echo "Could not display table as no measurement data was present!"
[ -n "$GITHUB_STEP_SUMMARY" ] && echo "❌ Could not display table as no measurement data was present!" >> $GITHUB_STEP_SUMMARY
return 1
Expand Down

0 comments on commit d8ab405

Please sign in to comment.