Skip to content

Commit 041268a

Browse files
committed
simplify MSYS2 testing on GHA
1 parent be039b5 commit 041268a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/test-msys2.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Install dependencies
4646
run: |
47-
pacman -S --noconfirm pactoys
47+
pacman -S --noconfirm make pactoys
4848
4949
pacboy -S --noconfirm \
5050
freetype:p \
@@ -73,20 +73,20 @@ jobs:
7373
pushd depends && ./install_extra_test_images.sh && popd
7474
7575
- name: Build Pillow
76-
run: CFLAGS="-coverage" python3 -m pip install --global-option="build_ext" .
76+
run: .ci/build.sh
7777

7878
- name: Test Pillow
79-
run: |
80-
python3 selftest.py --installed
81-
python3 -c "from PIL import Image"
82-
python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
79+
run: .ci/test.sh
80+
81+
- name: After success
82+
run: .ci/after_success.sh
8383

8484
- name: Upload coverage
8585
uses: codecov/codecov-action@v3
8686
with:
8787
file: ./coverage.xml
8888
flags: GHA_Windows
89-
name: ${{ matrix.name }}
89+
name: MSYS2 ${{ matrix.msystem }}
9090

9191
success:
9292
permissions:

0 commit comments

Comments
 (0)