ci(fedora41): refactor tests removal from Python packages

This commit is contained in:
Alex Turbov 2025-01-29 23:58:35 +04:00 committed by Brad King
parent 0e5159656a
commit fa08bd803d

View File

@ -4,10 +4,7 @@ set -e
dnf install -y $(grep '^[^#]\+$' /root/deps_packages.lst)
# Remove tests for numpy
# Remove tests for Python packages
for v in 3.13; do
find /usr/lib64/python${v}/site-packages/numpy -type d -a -name tests -exec rm -rf {} +
find /usr/lib64/python${v}/site-packages -type d -a -name tests -exec rm -rf {} +
done
# Remove some other packages tests
find /usr/lib64/python3.13/site-packages/breezy -type d -a -name tests -exec rm -rf {} +