From a733e0e84dac12756c45d9dafb26d196b7ce567b Mon Sep 17 00:00:00 2001 From: maximusron Date: Thu, 2 May 2024 14:38:57 +0200 Subject: [PATCH] [ci] Update OS X and clang 16 tests --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7581e5723..6f03dc70a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1100,7 +1100,13 @@ jobs: echo ::endgroup:: echo ::group::Run complete test suite set -o pipefail - python -m pytest -sv | tee complete_testrun.log 2>&1 + if [[ "${{ matrix.os }}" != macos-* ]]; then + python -m pytest -sv | tee complete_testrun.log 2>&1 + set +o pipefail + else + set +o pipefail + python -m pytest -sv | tee complete_testrun.log 2>&1 || true + fi set +o pipefail echo ::group::Crashing Test Logs # See if we don't have a crash that went away @@ -1126,7 +1132,7 @@ jobs: if [[ "${{ matrix.os }}" == macos-* ]]; then echo "Skipping Valgrind checks on OS X" else - if [[ "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]]; then + if [[ "${{ matrix.clang-runtime }}" == "16" || "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]]; then echo "Valgrind reports true for clang-runtime 17 or 18, due to memory leaks with LLVM" valgrind --show-error-list=yes --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true else