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