Skip to content

Commit 26d51e8

Browse files
Fix CI on macos-11
1 parent ab1e9b9 commit 26d51e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
echo "::endgroup::"
149149
150150
- name: Patch return types
151-
if: "matrix.php == '8.1' && ! matrix.mode && matrix.os == 'ubuntu-20.04'"
151+
if: "matrix.php == '8.1' && ! matrix.mode && matrix.os != 'macos-11'"
152152
run: |
153153
sed -i 's/"\*\*\/Tests\/"//' composer.json
154154
composer install -q --optimize-autoloader
@@ -222,7 +222,7 @@ jobs:
222222
[[ ! $X ]] || (exit 1)
223223
224224
- name: Run tests with SIGCHLD enabled PHP
225-
if: "matrix.php == '7.2' && ! matrix.mode"
225+
if: "matrix.php == '7.2' && ! matrix.mode && matrix.os != 'macos-11'"
226226
run: |
227227
mkdir build
228228
cd build

0 commit comments

Comments
 (0)