Skip to content

Commit fee419e

Browse files
committed
Add CI for macOS
1 parent 3bf2d14 commit fee419e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/unit-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212

1313
tests:
1414
name: Tests
15-
runs-on: Ubuntu-20.04
1615

1716
env:
1817
extensions: amqp,apcu,igbinary,intl,mbstring,memcached,mongodb,redis
@@ -21,15 +20,24 @@ jobs:
2120
matrix:
2221
include:
2322
- php: '7.2'
23+
os: ubuntu-20.04
2424
- php: '8.0'
25+
os: ubuntu-20.04
2526
- php: '7.4'
27+
os: macos-11
28+
- php: '7.4'
29+
os: ubuntu-20.04
2630
mode: high-deps
2731
- php: '8.0'
32+
os: ubuntu-20.04
2833
mode: low-deps
2934
- php: '8.1'
35+
os: ubuntu-20.04
3036
mode: experimental
3137
fail-fast: false
3238

39+
runs-on: "${{ matrix.os }}"
40+
3341
steps:
3442
- name: Checkout
3543
uses: actions/checkout@v2
@@ -135,7 +143,7 @@ jobs:
135143
echo "::endgroup::"
136144
137145
- name: Patch return types
138-
if: "${{ matrix.php == '8.0' && ! matrix.mode }}"
146+
if: "${{ matrix.php == '8.0' && ! matrix.mode && matrix.os == 'ubuntu-20.04' }}"
139147
run: |
140148
sed -i 's/"\*\*\/Tests\/"//' composer.json
141149
composer install -q --optimize-autoloader

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy