From cbf3038a8cae727fd8df1cc2a9d1d2e316c1ad1d Mon Sep 17 00:00:00 2001 From: jede Date: Sat, 26 Oct 2024 23:28:06 +0200 Subject: [PATCH] fix --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 900196e..8db7477 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -175,8 +175,10 @@ jobs: - name: Check unit-test run: | - ls -l ${GITHUB_WORKSPACE}/oricutron/sdcard/ - bash tests/unit-tests/verify.sh ${GITHUB_WORKSPACE}/oricutron/sdcard/ + if [ -d "tests/build/" ] && [ "$(ls -A tests/build/" ]; then + ls -l ${GITHUB_WORKSPACE}/oricutron/sdcard/ + bash tests/unit-tests/verify.sh ${GITHUB_WORKSPACE}/oricutron/sdcard/ + fi - name: List build directory content run: ls -lR build