From b4d8beeae88196d780b2fcfb111de73d6789c5b1 Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 24 Oct 2024 16:34:31 +0200 Subject: [PATCH] Unit test bug-fix - broken if checking one test at PR --- .github/workflows/unit-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index c45a76ca1..319c33498 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -51,9 +51,9 @@ jobs: # read tests cases if [[ -n "${{ steps.changed-files.outputs.all_changed_files }}" ]]; then - tests=($(grep -rw ${{ steps.changed-files.outputs.all_changed_files }} -e "ENABLED=true" | cut -d":" -f1)) + tests=($(grep -rwl ${{ steps.changed-files.outputs.all_changed_files }} -e "ENABLED=true" | cut -d":" -f1)) else - tests=($(grep -rw tests/*.conf -e "ENABLED=true" | cut -d":" -f1)) + tests=($(grep -rwl tests/*.conf -e "ENABLED=true" | cut -d":" -f1)) fi # loop enabled test cases