Skip to content

Commit dbe7e3d

Browse files
committed
workflow
1 parent e49aabc commit dbe7e3d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,7 @@ jobs:
2929

3030
- name: Install cibuildwheel
3131
run: python -m pip install cibuildwheel
32-
33-
- name: Download test image file
34-
run: |
35-
# Photo by Dillon Hunt (https://unsplash.com/@dillon_hunt) on https://unsplash.com/photos/an-aerial-view-of-the-ocean-and-rocks-zQLd8RXbenw
36-
curl -L -o /tmp/test_image.jpg "https://unsplash.com/photos/zQLd8RXbenw/download?ixid=M3wxMjA3fDB8MXx0b3BpY3x8NnNNVmpUTFNrZVF8fHx8fDJ8fDE3MzY0MDA3NTd8&force=true&w=2400"
37-
# This step needs to be available for the test command
38-
# For Windows, use PowerShell equivalent
39-
shell: bash
40-
32+
4133
- name: Build wheels
4234
run: python -m cibuildwheel --output-dir wheelhouse
4335
env:
@@ -47,6 +39,8 @@ jobs:
4739
CIBW_BEFORE_TEST: >
4840
pip install -r {project}/requirements.txt -r {project}/requirements-dev.txt
4941
CIBW_TEST_COMMAND: >
42+
# Photo by Dillon Hunt (https://unsplash.com/@dillon_hunt) on https://unsplash.com/photos/an-aerial-view-of-the-ocean-and-rocks-zQLd8RXbenw
43+
curl -L -o /tmp/test_image.jpg "https://unsplash.com/photos/zQLd8RXbenw/download?ixid=M3wxMjA3fDB8MXx0b3BpY3x8NnNNVmpUTFNrZVF8fHx8fDJ8fDE3MzY0MDA3NTd8&force=true&w=2400"
5044
python {project}/tests/test_all.py --image /tmp/test_image.jpg --quality 1 --method pillow --tonal-spot &&
5145
python {project}/tests/test_all.py --image /tmp/test_image.jpg --quality 1 --method cpp --tonal-spot
5246
CIBW_BEFORE_BUILD: >

0 commit comments

Comments
 (0)