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 b819d62 commit a0e5966
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/verify-metrics-snapshot/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ runs:
run: |
python3 -m pip install prometheus-client
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"
exit 1
fi
- name: Upload the diff artifact
if: ${{ (steps.cache-metrics.outputs.cache-hit == 'true') && (steps.diff-check.outcome == 'failure') }}
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
Expand Down

0 comments on commit a0e5966

Please sign in to comment.