Skip to content

Commit 8e70eaa

Browse files
committed
chore: updated tests workflow
1 parent 710c042 commit 8e70eaa

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ on:
77
jobs:
88
tests:
99
runs-on: ubuntu-latest
10-
continue-on-error: ${{ matrix.experimental }}
1110
strategy:
1211
fail-fast: true
1312
matrix:
1413
php: [7.3, 7.4, 8.0, 8.1]
15-
stability: [prefer-lowest, prefer-stable]
16-
experimental: [false]
14+
dependencies:
15+
- lowest
16+
- highest
1717

18-
name: Tests on PHP ${{ matrix.php }} - ${{ matrix.stability }}
18+
name: Tests on PHP ${{ matrix.php }} - ${{ matrix.dependencies }}
1919

2020
steps:
2121
- name: Checkout code
@@ -28,8 +28,9 @@ jobs:
2828
tools: composer:v2
2929
coverage: none
3030

31-
- name: Install dependencies
32-
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
31+
- uses: "ramsey/composer-install@v1"
32+
with:
33+
dependency-versions: "${{ matrix.dependencies }}"
3334

3435
- name: Execute tests
3536
run: vendor/bin/phpunit --verbose

0 commit comments

Comments
 (0)