From f400af420e6b4c6c18ec8cfb5e928020e51d125d Mon Sep 17 00:00:00 2001 From: mengfeil Date: Fri, 27 Dec 2024 15:48:36 +0800 Subject: [PATCH] Fix CI E2E accuracy check --- .github/workflows/pull.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 53f93e629..8ec670d89 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -144,9 +144,9 @@ jobs: run: | rm -rf ${{ github.workspace }}/upload_files cp -r ${{ github.workspace }}/../pytorch/inductor_log ${{ github.workspace }}/upload_files - failed_case=$(grep "Real failed: models: *[1-9]" ${{ github.workspace }}/upload_files/summary_accuracy.log |wc -l || true) + failed_case=$(grep "Real failed models: *[1-9]" ${{ github.workspace }}/upload_files/summary_accuracy.log |wc -l || true) if [ ${failed_case} -ne 0 ];then - grep -E "Real failed: models: [1-9]|Summary for" ${{ github.workspace }}/summary_accuracy.log + grep -E "Real failed models: [1-9]|Summary for" ${{ github.workspace }}/summary_accuracy.log exit 1 fi - name: Upload Inductor XPU E2E Data