diff --git a/.github/workflows/pmem_test_matrix.yml b/.github/workflows/pmem_test_matrix.yml index ccb032b74c4..f18a24c24d1 100644 --- a/.github/workflows/pmem_test_matrix.yml +++ b/.github/workflows/pmem_test_matrix.yml @@ -9,6 +9,9 @@ on: force_enable: required: true type: string + valgrind: + required: true + default: 1 timeout_minutes: required: false type: number @@ -27,12 +30,16 @@ jobs: test_script: [sh, py] os: [rhel, opensuse] build: [debug, nondebug] + valgrind: ${{ fromJSON(inputs.valgrind) }} + steps: - uses: actions/checkout@v4 - name: Test prepare uses: ./.github/actions/pmem_test_prepare + with: + valgrind: ${{ matrix.valgrind }} - name: Test run uses: ./.github/actions/pmem_test_run @@ -40,3 +47,4 @@ jobs: test_script: ${{ matrix.test_script }} build: ${{ matrix.build }} force_enable: ${{ matrix.force_enable }} + valgrind: ${{ matrix.valgrind }} diff --git a/.github/workflows/pmem_tests.yml b/.github/workflows/pmem_tests.yml index e5d3cb4e224..b1c44025bd8 100644 --- a/.github/workflows/pmem_tests.yml +++ b/.github/workflows/pmem_tests.yml @@ -17,6 +17,7 @@ jobs: uses: ./.github/workflows/pmem_test_matrix.yml with: force_enable: '["pmemcheck", "memcheck"]' + valgrind: 0 no_valgrind: name: Without Valgrind