File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -1086,7 +1086,9 @@ jobs:
1086
1086
python -m pip install numba
1087
1087
echo ::endgroup::
1088
1088
echo ::group::Run complete test suite
1089
+ set -o pipefail
1089
1090
python -m pytest -sv | tee complete_testrun.log 2>&1
1091
+ set +o pipefail
1090
1092
echo ::group::Crashing Test Logs
1091
1093
# See if we don't have a crash that went away
1092
1094
# Comment out all xfails but the ones that have a run=False condition.
@@ -1108,12 +1110,16 @@ jobs:
1108
1110
declare -i RETCODE=0
1109
1111
1110
1112
set -o pipefail
1111
- if [[ "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]] && [[ "${{ matrix.os }}" != "macos-14" ]]; then
1112
- echo "Valgrind reports true for clang-runtime 17 or 18, due to memory leaks with LLVM"
1113
- valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
1113
+ if [[ "${{ matrix.os }}" == macos-* ]]; then
1114
+ echo "Skipping Valgrind checks on OS X"
1114
1115
else
1115
- echo "Running valgrind on passing tests"
1116
- valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
1116
+ if [[ "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]]; then
1117
+ echo "Valgrind reports true for clang-runtime 17 or 18, due to memory leaks with LLVM"
1118
+ valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
1119
+ else
1120
+ echo "Running valgrind on passing tests"
1121
+ valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
1122
+ fi
1117
1123
fi
1118
1124
export RETCODE=+$?
1119
1125
echo ::endgroup::
You can’t perform that action at this time.
0 commit comments