Skip to content

Commit 6fe94c4

Browse files
committed
back macos coverage and upload only one time
1 parent 7ffbcc0 commit 6fe94c4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Diff for: .github/workflows/tests.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,11 @@ jobs:
3333
composer require "pestphp/pest:^${{ matrix.pest }}" --no-interaction --no-update
3434
composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
3535
36-
- name: Unit Tests (not macos)
37-
if: matrix.os != 'macos-latest'
36+
- name: Unit Tests
3837
run: composer test:unit -- --coverage-clover ./coverage.xml
3938

40-
- name: Unit Tests (macos)
41-
if: matrix.os == 'macos-latest'
42-
run: composer test:unit
43-
4439
- name: Upload coverage reports to Codecov
45-
if: ${{matrix.os == 'ubuntu-latest' && matrix.php == '8.1'}}
40+
if: ${{matrix.os == 'ubuntu-latest' && matrix.php == '8.1' && matrix.pest == '2.0' && matrix.dependency-version == 'prefer-stable'}}
4641
uses: codecov/[email protected]
4742
with:
4843
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)