From 1f0703ad026808c9ca1992e85ec97b8f928d987e Mon Sep 17 00:00:00 2001 From: Liwei Ji Date: Thu, 17 Aug 2023 15:32:37 -0400 Subject: [PATCH] CI: Fix bug --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba866aaa..8247fd9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,5 +60,5 @@ jobs: # Set exit code based on test status - name: Set exit code # Only look at the test results for `carpetx-cpu-real64` runs - if: ${{matrix.accelerator == 'cpu' && matrix.real-precision == 'real64' && matrix.mode == 'debug' && env.TESTS_FAILED == 'True'}} + if: ${{matrix.accelerator == 'cpu' && matrix.real-precision == 'real64' && matrix.mode == 'optimize' && env.TESTS_FAILED == 'True'}} run: exit 1