Skip to content

Commit b853854

Browse files
committed
simplify MSYS2 testing on GHA
1 parent 286db61 commit b853854

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/test-msys2.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
- name: Install dependencies
5252
run: |
5353
pacman -S --noconfirm \
54+
make \
5455
pactoys \
5556
subversion
5657
@@ -77,17 +78,17 @@ jobs:
7778
pushd depends && ./install_extra_test_images.sh && popd
7879
7980
- name: Build Pillow
80-
run: SETUPTOOLS_USE_DISTUTILS="stdlib" CFLAGS="-coverage" python3 -m pip install .
81+
run: SETUPTOOLS_USE_DISTUTILS="stdlib" .ci/build.sh
8182

8283
- name: Test Pillow
83-
run: |
84-
python3 selftest.py --installed
85-
python3 -c "from PIL import Image"
86-
python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
84+
run: .ci/test.sh
85+
86+
- name: After success
87+
run: .ci/after_success.sh
8788

8889
- name: Upload coverage
8990
uses: codecov/codecov-action@v3
9091
with:
9192
file: ./coverage.xml
9293
flags: GHA_Windows
93-
name: "MSYS2 MinGW"
94+
name: MSYS2 ${{ matrix.msystem }}

0 commit comments

Comments
 (0)