Skip to content

Commit

Permalink
Update test_run_ci.yml to verify init task second data
Browse files Browse the repository at this point in the history
  • Loading branch information
lyfsn authored Sep 9, 2024
1 parent 5b73f3f commit c517916
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test_run_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,14 @@ jobs:
echo "Client '${{ matrix.client }}' has valid data (max=$max_value)."
fi
max_value=$(jq -r '.memory["'"${{ matrix.client }}"'"]["'"${{ matrix.size }}"'"].second.max' "results-$DATE/memory/reports/memory.json")
if [ "$max_value" = "0" ] || [ -z "$max_value" ]; then
echo "Client '${{ matrix.client }}' has no valid data (max=0 or missing)."
exit 1
else
echo "Client '${{ matrix.client }}' has valid data (max=$max_value)."
fi
- name: Zip the results folder
run: |
ROOT_DIR=${{ needs.run-genesis-init-speed-benchmarks.outputs.root_dir }}
Expand Down Expand Up @@ -399,4 +407,4 @@ jobs:
run: |
ROOT_DIR=${{ needs.run-burntpix-benchmarks.outputs.root_dir }}
cd "$ROOT_DIR/benchmarks-data-result"
git status
git status

0 comments on commit c517916

Please sign in to comment.