From b819d62a7bcd6fce9eab349bab4b0c2bfefc72dc Mon Sep 17 00:00:00 2001 From: chahat sagar <109112505+chahatsagarmain@users.noreply.github.com> Date: Mon, 6 Jan 2025 14:11:25 +0530 Subject: [PATCH] Update action.yaml Signed-off-by: chahat sagar <109112505+chahatsagarmain@users.noreply.github.com> --- .github/actions/verify-metrics-snapshot/action.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/actions/verify-metrics-snapshot/action.yaml b/.github/actions/verify-metrics-snapshot/action.yaml index b9c9c94c754..3a8dbc085de 100644 --- a/.github/actions/verify-metrics-snapshot/action.yaml +++ b/.github/actions/verify-metrics-snapshot/action.yaml @@ -65,9 +65,7 @@ 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 - exit 1 - fi + python3 ./scripts/e2e/compare_metrics.py --file1 ./.metrics/${{ inputs.snapshot }} --file2 ./.metrics/cached_${{ inputs.snapshot}} --output ./.metrics/diff_${{ inputs.snapshot }} - name: Upload the diff artifact if: ${{ (steps.cache-metrics.outputs.cache-hit == 'true') && (steps.diff-check.outcome == 'failure') }}