Skip to content

Commit

Permalink
common: valgrind on action API
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
  • Loading branch information
grom72 committed Mar 18, 2024
1 parent b2f1fe3 commit 0a715f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pmem_test_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
force_enable:
required: true
type: string
valgrind:
required: true
default: 1
timeout_minutes:
required: false
type: number
Expand All @@ -27,16 +30,21 @@ 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
with:
test_script: ${{ matrix.test_script }}
build: ${{ matrix.build }}
force_enable: ${{ matrix.force_enable }}
valgrind: ${{ matrix.valgrind }}
1 change: 1 addition & 0 deletions .github/workflows/pmem_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
uses: ./.github/workflows/pmem_test_matrix.yml
with:
force_enable: '["pmemcheck", "memcheck"]'
valgrind: 0

no_valgrind:
name: Without Valgrind
Expand Down

0 comments on commit 0a715f1

Please sign in to comment.