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