From f1e2be219a142d1227ff8f2fa2e356210ac7f4b2 Mon Sep 17 00:00:00 2001 From: Oksana Salyk Date: Fri, 26 Jul 2024 09:16:21 +0200 Subject: [PATCH] common: fix typo in pmem_tests.yml file --- .github/actions/pmem_test_prepare/action.yml | 3 +++ .github/workflows/pmem_tests.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/pmem_test_prepare/action.yml b/.github/actions/pmem_test_prepare/action.yml index e9ca0982590..10aa727571b 100644 --- a/.github/actions/pmem_test_prepare/action.yml +++ b/.github/actions/pmem_test_prepare/action.yml @@ -38,6 +38,9 @@ runs: PMEMOBJ_IGNORE_BAD_BLOCKS: ${{ inputs.ndctl_enable == 'n' && 'y' || 'n' }} VALGRIND: ${{ inputs.valgrind }} run: | + echo '::group::Validate input' + [[ "${{ inputs.valgrind }}" ]] || { echo "valgrind input is empty" ; exit 1; } + echo '::endgroup::' echo '::group::Build' $WORKDIR/build-pmdk.sh echo '::endgroup::' diff --git a/.github/workflows/pmem_tests.yml b/.github/workflows/pmem_tests.yml index 972e9eebe42..67eca2d1837 100644 --- a/.github/workflows/pmem_tests.yml +++ b/.github/workflows/pmem_tests.yml @@ -60,7 +60,7 @@ jobs: - name: Test prepare uses: ./.github/actions/pmem_test_prepare with: - valgrid: 1 + valgrind: 1 - name: Test run uses: ./.github/actions/pmem_test_run