Skip to content

Commit

Permalink
Update action.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: chahat sagar <109112505+chahatsagarmain@users.noreply.github.com>
  • Loading branch information
chahatsagarmain authored Jan 6, 2025
1 parent 92f5a46 commit 8308739
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/verify-metrics-snapshot/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ runs:
shell: bash
run: |
python3 -m pip install prometheus-client
if ! python3 ./scripts/e2e/compare_metrics.py --file1 ./.metrics/${{ inputs.snapshot }} --file2 ./.metrics/cached_${{ inputs.snapshot}} --output ./.metrics/diff_${{ inputs.snapshot }}; then
python3 ./scripts/e2e/compare_metrics.py --file1 ./.metrics/${{ inputs.snapshot }} --file2 ./.metrics/cached_${{ inputs.snapshot}} --output ./.metrics/diff_${{ inputs.snapshot }}
if [ $? -eq 0 ]; then
echo "No differences found in metrics - failing the job as requested"
exit 1
fi
Expand Down

0 comments on commit 8308739

Please sign in to comment.