Skip to content

Commit d105904

Browse files
author
Andrey Helldar
committed
Added tests for major versions of packages
1 parent d10b205 commit d105904

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/phpunit.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
php: [ "7.2", "7.3", "7.4", "8.0" ]
12+
support: [ "2.0", "3.0" ]
1213

13-
name: PHP ${{ matrix.php }}
14+
name: PHP ${{ matrix.php }}, Support ${{ matrix.support }}
1415

1516
steps:
1617
- name: Checkout code
@@ -27,7 +28,9 @@ jobs:
2728
run: composer self-update
2829

2930
- name: Install dependencies
30-
run: composer update --prefer-stable --prefer-dist --no-progress --no-interaction
31+
run: |
32+
composer require andrey-helldar/support:^${{ matrix.support }}
33+
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
3134
3235
- name: Execute tests
3336
run: sudo vendor/bin/phpunit

0 commit comments

Comments
 (0)