Skip to content

Commit 46ee952

Browse files
set IS_VALGRIND envrionment variable (#608)
1 parent 16530ca commit 46ee952

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/actions/Build_and_Test_cppyy/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ runs:
121121
else
122122
SUPPRESSION_FILE="../etc/${CLANG_INTERPRETER}${CLANG_VERSION}-valgrind.supp"
123123
fi
124+
export IS_VALGRIND=true
124125
valgrind --show-error-list=yes --error-exitcode=1 --track-origins=yes --gen-suppressions=all --suppressions="${SUPPRESSION_FILE}" --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -sv -ra --ignore=test_leakcheck.py
126+
unset IS_VALGRIND
125127
fi
126128
export RETCODE=+$?
127129
echo ::endgroup::

0 commit comments

Comments
 (0)