Skip to content

Commit 17a3915

Browse files
committed
update test-ci.yml
1 parent a1122e2 commit 17a3915

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/test-ci.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
max-parallel: 1
1313
matrix:
14-
php-versions: ['8.0']
14+
php-versions: ['5.4', '5.5', '5.6', '7.0', '8.0']
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
@@ -23,13 +23,6 @@ jobs:
2323
php-version: ${{ matrix.php-versions }}
2424

2525
- name: Install dependencies
26-
if: ${{ matrix.php-versions != '8.0' }}
27-
run: |
28-
composer self-update
29-
composer install --no-interaction --prefer-source --dev
30-
31-
- name: Install dependencies(php8)
32-
if: ${{ matrix.php-versions == '8.0' }}
3326
run: |
3427
composer self-update
3528
composer install --no-interaction --prefer-source --dev

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"php": ">=5.3.3"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "=9.0.0",
19+
"phpunit/phpunit": "~4.0",
2020
"squizlabs/php_codesniffer": "~3.6"
2121
},
2222
"autoload": {

0 commit comments

Comments
 (0)