Skip to content

Commit 4b8d389

Browse files
committed
Disable code coverage report for macOS.
Does not work in macOS builds for now. Initially this was broken 13 days ago [1] on scheduled build. I suspect this is related to php-action update but have no time to check this right now. Thus I decided to leave code coverage report only for Linux at this time. /cc @ruudboon @AlexNDRmac [1]: https://github.com/phalcon/php-zephir-parser/actions/runs/42334154
1 parent ec105d0 commit 4b8d389

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,17 @@ jobs:
2828
- '7.3'
2929
- '7.4'
3030
name:
31-
- 'Ubuntu'
32-
- 'macOS X'
31+
- Ubuntu
32+
- macOS
3333

3434
include:
35-
- name: 'Ubuntu'
35+
- name: Ubuntu
3636
os: ubuntu-latest
3737
ccov: ON
38-
- name: 'macOS X'
39-
os: macOS-latest
40-
ccov: ON
38+
39+
- name: macOS
40+
os: macos-latest
41+
ccov: OFF
4142

4243
name: "${{ matrix.name }}: PHP ${{ matrix.php }}, re2c ${{ matrix.re2c }}"
4344
runs-on: ${{ matrix.os }}
@@ -64,7 +65,7 @@ jobs:
6465
sudo apt-get install --no-install-recommends --quiet --yes lcov gdb
6566
6667
- name: Setup Prerequisites (macOS)
67-
if: runner.os == 'macOS'
68+
if: runner.os == 'macOS' && matrix.ccov == 'ON'
6869
run: |
6970
brew install lcov
7071
sudo xcode-select -switch /Applications/Xcode.app

0 commit comments

Comments
 (0)