Skip to content

Commit e121b2d

Browse files
committed
Update test tags with CPyCppyy update
1 parent a0efea0 commit e121b2d

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,10 @@ jobs:
655655
cd ..
656656
source .venv/bin/activate
657657
cd cppyy
658-
# Install cppyy
658+
# Install cppyy and dependencies
659+
if [[ "${{ matrix.os }}" == ubuntu* ]]; then
660+
pip install psutil
661+
fi
659662
python -m pip install --upgrade . --no-deps
660663
- name: Run cppyy on Unix Systems
661664
if: ${{ (runner.os != 'windows') && (matrix.cppyy == 'On') }}
@@ -709,6 +712,7 @@ jobs:
709712
if [[ "${{ matrix.os }}" == macos-* ]]; then
710713
echo "Skipping Valgrind checks on OS X"
711714
else
715+
pip uninstall -y psutil
712716
echo "Running valgrind on passing tests"
713717
CLANG_VERSION="${{ matrix.clang-runtime }}"
714718
SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind.supp"

test/test_leakcheck.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ class MyClass04 {
185185
self.check_func(m, 'method_default', b=-99)
186186
self.check_func(m, 'method_default', c=-99)
187187

188+
@mark.skip(reason="Crashes when run with whole test suite")
188189
def test05_aggregates(self):
189190
"""Leak test of aggregate creation"""
190191

test/test_lowlevel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,4 +740,4 @@ def test05_char_multidim(self):
740740

741741
for i, v in enumerate(("s1", "s23", "s456")):
742742
assert len(ns.str_array[i]) == 8
743-
assert str(ns.str_array[i])[:len(v)] == v
743+
assert list(ns.str_array[i])[:len(v)] == list(v)

0 commit comments

Comments
 (0)