From 3247aecc8e2db78408e3676d39e1ff7a1e4709f1 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Mon, 26 Aug 2024 22:50:14 +0200 Subject: [PATCH] Split running ctest and pytest --- .github/workflows/ci_linux_x64_asan-libshortfin.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_linux_x64_asan-libshortfin.yml b/.github/workflows/ci_linux_x64_asan-libshortfin.yml index e1d6b653e..5c5310e2a 100644 --- a/.github/workflows/ci_linux_x64_asan-libshortfin.yml +++ b/.github/workflows/ci_linux_x64_asan-libshortfin.yml @@ -154,12 +154,17 @@ jobs: cmake --build . --target all pip install -v -e . - - name: Test libshortfin + - name: Run ctest + if: ${{ !cancelled() }} env: CTEST_OUTPUT_ON_FAILURE: 1 run: | - eval "$(pyenv init -)" cd ${{ env.LIBSHORTFIN_DIR }}/build cmake --build . --target test + + - name: Run pytest + if: ${{ !cancelled() }} + run: | + eval "$(pyenv init -)" cd ${{ env.LIBSHORTFIN_DIR }} pytest -m "not requires_amd_gpu"