Skip to content

Commit 7a8de4d

Browse files
disable macos tests + fix test
1 parent 359c973 commit 7a8de4d

2 files changed

Lines changed: 32 additions & 31 deletions

File tree

.github/workflows/_test-integrations.yml

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -55,36 +55,37 @@ jobs:
5555
run: |
5656
./vendor/bin/phpunit -c tests/functional.xml
5757
58-
integration-tests-macos:
59-
name: Run Integration Tests on MacOS
60-
timeout-minutes: 30
61-
strategy:
62-
max-parallel: 2
63-
matrix:
64-
php-version:
65-
- 8.1
66-
- 8.5
67-
runs-on: "macos-latest"
68-
steps:
69-
- uses: actions/checkout@v4
70-
with:
71-
submodules: recursive
72-
- name: Set up php ${{ matrix.php-version }}
73-
uses: shivammathur/setup-php@v2
74-
env:
75-
phpts: zts
76-
with:
77-
php-version: ${{ matrix.php-version }}
78-
extensions: curl, fileinfo, json, imagick
79-
- name: Install ImageMagick
80-
run: |
81-
brew update
82-
brew install imagemagick
83-
- uses: ramsey/composer-install@v2
84-
- name: Unit testing with phpunit
85-
run: |
86-
./vendor/bin/phpunit -c tests/functional.xml
87-
58+
# MacOS testing disabled because of capricious GS/ImageMagick/Homebrew behaviors
59+
# integration-tests-macos:
60+
# name: Run Integration Tests on MacOS
61+
# timeout-minutes: 30
62+
# strategy:
63+
# max-parallel: 2
64+
# matrix:
65+
# php-version:
66+
# - 8.1
67+
# - 8.5
68+
# runs-on: "macos-latest"
69+
# steps:
70+
# - uses: actions/checkout@v4
71+
# with:
72+
# submodules: recursive
73+
# - name: Set up php ${{ matrix.php-version }}
74+
# uses: shivammathur/setup-php@v2
75+
# env:
76+
# phpts: zts
77+
# with:
78+
# php-version: ${{ matrix.php-version }}
79+
# extensions: curl, fileinfo, json, imagick
80+
# - name: Install ImageMagick
81+
# run: |
82+
# brew update
83+
# brew install imagemagick
84+
# - uses: ramsey/composer-install@v2
85+
# - name: Unit testing with phpunit
86+
# run: |
87+
# ./vendor/bin/phpunit -c tests/functional.xml
88+
#
8889

8990
integration-tests-windows:
9091
name: Run Integration Tests on Windows

tests/V2/Product/SplitFunctional.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected function setUp(): void
3232
public function testSplitDefaultSampleMustSucceed(): void
3333
{
3434
$inputSource = new PathInput(
35-
TestingUtilities::getV2ProductDir() . '/products/split/default_sample.pdf'
35+
TestingUtilities::getV2ProductDir() . '/split/default_sample.pdf'
3636
);
3737

3838
$productParams = new SplitParameters($this->splitModelId);

0 commit comments

Comments
 (0)