From 3d89ba794ad26c48eefc0094016d7e06b4868a7d Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 6 Jan 2025 18:54:42 +1100 Subject: [PATCH] faster --- .ci/after_success.sh | 8 ++++---- .ci/test.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/after_success.sh b/.ci/after_success.sh index d2599cdcf0f..eaa10af2c4c 100755 --- a/.ci/after_success.sh +++ b/.ci/after_success.sh @@ -1,10 +1,10 @@ #!/bin/bash # gather the coverage data -python3 -m pip install coverage ls -la +python3 -m pip install coverage if [[ $MATRIX_DOCKER ]]; then - python3 -m coverage xml --ignore-errors -else - python3 -m coverage xml + sudo mkdir /Pillow + sudo cp -r Tests /Pillow fi +python3 -m coverage xml diff --git a/.ci/test.sh b/.ci/test.sh index 3f0ddc350a9..ead72cfa6b9 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -4,4 +4,4 @@ set -e python3 -c "from PIL import Image" -python3 -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term --cov-report xml Tests $REVERSE +python3 -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term --cov-report xml Tests/test_image.py $REVERSE