Skip to content
Merged
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
php-versions: [ '7.4', '8.0' ]
php-versions: [ '8.0', '8.1', '8.2', '8.3', '8.4' ]
postgresql-versions: [ '12', '14' ]
name: PHP ${{ matrix.php-versions }} with postgreSQL ${{ matrix.postgresql-versions }}

Expand All @@ -34,7 +34,7 @@ jobs:
--health-retries 5

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Check Out Code

- name: Setup PHP
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand All @@ -73,7 +73,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
php-versions: [ '7.4', '8.0' ]
php-versions: [ '8.0', '8.1', '8.2', '8.3', '8.4' ]
mysql-versions: [ '5.7', '8.0' ]
name: PHP ${{ matrix.php-versions }} with MySQL ${{ matrix.mysql-versions }}

Expand All @@ -89,7 +89,7 @@ jobs:
options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 10

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Check Out Code

- name: Setup PHP
Expand All @@ -103,7 +103,7 @@ jobs:

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
"type": "library",
"license": "MIT",
"require": {
"php": ">=7.4",
"php": ">=8.0",
"ext-pdo": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
"symfony/yaml": "^5.0"
"symfony/yaml": "^5.0",
"phpspec/prophecy": "^1.22.0",
"doctrine/instantiator": "^1.5",
"symfony/deprecation-contracts": "^2.4"
},
"scripts":{
"test": "./vendor/bin/phpunit -c phpunit.xml"
Expand Down
Loading