Skip to content

Commit b2e195a

Browse files
committed
Install with tests extra
1 parent 849cb9f commit b2e195a

4 files changed

Lines changed: 2 additions & 10 deletions

File tree

.ci/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22

33
set -e
44

5-
python3 -m coverage erase
65
make clean
76
make install-coverage

.ci/install.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,7 @@ sudo apt-get -qq install libfreetype6-dev liblcms2-dev libtiff-dev python3-tk\
2424

2525
python3 -m pip install --upgrade pip
2626
python3 -m pip install --upgrade wheel
27-
python3 -m pip install coverage
28-
python3 -m pip install defusedxml
2927
python3 -m pip install ipython
30-
python3 -m pip install olefile
31-
python3 -m pip install -U pytest
32-
python3 -m pip install -U pytest-cov
33-
python3 -m pip install -U pytest-timeout
34-
python3 -m pip install pyroma
3528
# optional test dependencies, only install if there's a binary package.
3629
python3 -m pip install --only-binary=:all: numpy || true
3730
python3 -m pip install --only-binary=:all: pyarrow || true

.github/workflows/test-mingw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
pushd depends && ./install_extra_test_images.sh && popd
7979
8080
- name: Build Pillow
81-
run: CFLAGS="-coverage" python3 -m pip install .
81+
run: CFLAGS="-coverage" python3 -m pip install .[tests]
8282

8383
- name: Test Pillow
8484
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ install:
6262

6363
.PHONY: install-coverage
6464
install-coverage:
65-
CFLAGS="-coverage -Werror=implicit-function-declaration" python3 -m pip -v install .
65+
CFLAGS="-coverage -Werror=implicit-function-declaration" python3 -m pip -v install .[tests]
6666
python3 selftest.py
6767

6868
.PHONY: debug

0 commit comments

Comments
 (0)