Skip to content

Commit a110f8e

Browse files
install psutil required for tests (#132)
* install `psutil` required for tests * ignore `test_leakcheck.py` while running with valgrind
1 parent 7bfe6e2 commit a110f8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/Ubuntu.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ jobs:
668668
python -m uv pip install pytest
669669
python -m uv pip install pytest-xdist
670670
python -m uv pip install numba
671+
python -m uv pip install psutil
671672
echo ::endgroup::
672673
echo ::group::Run complete test suite
673674
set -o pipefail
@@ -704,7 +705,7 @@ jobs:
704705
SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind.supp"
705706
fi
706707

707-
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
708+
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
708709
export RETCODE=+$?
709710
echo ::endgroup::
710711

0 commit comments

Comments
 (0)