Skip to content

Commit 6085acc

Browse files
committed
Add stability to matrix
1 parent c8fd658 commit 6085acc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
php: [7.3, 7.4, 8.0]
12+
stability: [prefer-lowest, prefer-stable]
1213

13-
name: PHP ${{ matrix.php }}
14+
name: PHP ${{ matrix.php }} (--${{ matrix.stability }})
1415

1516
steps:
1617
- name: Checkout code
@@ -33,7 +34,7 @@ jobs:
3334
with:
3435
timeout_minutes: 5
3536
max_attempts: 5
36-
command: composer update --prefer-dist --prefer-stable --no-interaction --no-progress --ansi
37+
command: composer update --prefer-dist --${{ matrix.stability }} --no-interaction --no-progress --ansi
3738

3839
- name: Run tests
3940
run: vendor/bin/phpunit --verbose --colors=always --coverage-clover ./build/logs/clover.xml

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"php": "^7.3|^8.0",
1616
"illuminate/database": "^8.0",
1717
"illuminate/support": "^8.0",
18-
"mockery/mockery": "^1.3.1"
18+
"mockery/mockery": "^1.3.2"
1919
},
2020
"require-dev": {
21-
"phpunit/phpunit": "^8.4|^9.0",
21+
"phpunit/phpunit": "^9.3.3",
2222
"orchestra/testbench": "^6.0"
2323
},
2424
"autoload": {

0 commit comments

Comments
 (0)