File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -752,12 +752,16 @@ jobs:
752
752
declare -i RETCODE=0
753
753
754
754
set -o pipefail
755
- if [[ "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]] && [[ "${{ matrix.os }}" != "macos-14" ]]; then
756
- echo "Valgrind reports true for clang-runtime 17 or 18, due to memory leaks with LLVM"
757
- valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
755
+ if [[ "${{ matrix.os }}" == macos-* ]]; then
756
+ echo "Skipping Valgrind checks on macOS"
758
757
else
759
- echo "Running valgrind on passing tests"
760
- valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
758
+ if [[ "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]]; then
759
+ echo "Valgrind reports true for clang-runtime 17 or 18, due to memory leaks with LLVM"
760
+ valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
761
+ else
762
+ echo "Running valgrind on passing tests"
763
+ valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
764
+ fi
761
765
fi
762
766
export RETCODE=+$?
763
767
echo ::endgroup::
You can’t perform that action at this time.
0 commit comments