Skip to content

Commit e0dd9a6

Browse files
authored
Update tests.yml
1 parent 05df2d9 commit e0dd9a6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on: ['push', 'pull_request']
44

55
jobs:
66
build:
7-
7+
name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
php: ['7.4', '8.0', '8.1']
13-
dependency-version: [prefer-lowest, prefer-stable]
13+
dependency-version: [prefer-stable]
1414

1515
steps:
1616
- uses: actions/checkout@v2
@@ -20,7 +20,8 @@ jobs:
2020
with:
2121
php-version: ${{ matrix.php }}
2222
tools: composer:v2
23-
coverage: none
23+
extensions: json, mbstring
24+
coverage: xdebug
2425

2526
- name: Setup Problem Matches
2627
run: |
@@ -35,5 +36,5 @@ jobs:
3536
run: composer update --dev --${{ matrix.dependency-version }} --ignore-platform-req=php --no-interaction --no-progress
3637
if: "matrix.php >= 8"
3738

38-
- name: Run Tests
39-
run: ./vendor/bin/pest
39+
- name: Run Tests with Coverage
40+
run: ./vendor/bin/pest --coverage

0 commit comments

Comments
 (0)