|
@@ -13,7 +13,7 @@ jobs:
|
|
|
strategy:
|
|
strategy:
|
|
|
fail-fast: false
|
|
fail-fast: false
|
|
|
matrix:
|
|
matrix:
|
|
|
- php-version: ['7.2', '7.4']
|
|
|
|
|
|
|
+ php-version: ['7.2', '8.0']
|
|
|
db-type: [sqlite, mysql, pgsql]
|
|
db-type: [sqlite, mysql, pgsql]
|
|
|
prefer-lowest: ['']
|
|
prefer-lowest: ['']
|
|
|
include:
|
|
include:
|
|
@@ -30,9 +30,7 @@ jobs:
|
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@v1
|
|
|
|
|
- with:
|
|
|
|
|
- fetch-depth: 1
|
|
|
|
|
|
|
+ - uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup Service
|
|
- name: Setup Service
|
|
|
if: matrix.db-type == 'mysql'
|
|
if: matrix.db-type == 'mysql'
|
|
@@ -61,7 +59,7 @@ jobs:
|
|
|
- name: Composer install --no-progress --prefer-dist --optimize-autoloader
|
|
- name: Composer install --no-progress --prefer-dist --optimize-autoloader
|
|
|
run: |
|
|
run: |
|
|
|
composer --version
|
|
composer --version
|
|
|
- composer require --dev phpunit/phpunit:"^8.5"
|
|
|
|
|
|
|
+ composer require --dev phpunit/phpunit:"^8.5||^9.5"
|
|
|
if ${{ matrix.prefer-lowest == 'prefer-lowest' }}
|
|
if ${{ matrix.prefer-lowest == 'prefer-lowest' }}
|
|
|
then
|
|
then
|
|
|
composer update --prefer-lowest --prefer-stable
|
|
composer update --prefer-lowest --prefer-stable
|
|
@@ -93,9 +91,7 @@ jobs:
|
|
|
runs-on: ubuntu-18.04
|
|
runs-on: ubuntu-18.04
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@v1
|
|
|
|
|
- with:
|
|
|
|
|
- fetch-depth: 1
|
|
|
|
|
|
|
+ - uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup PHP
|
|
- name: Setup PHP
|
|
|
uses: shivammathur/setup-php@v2
|
|
uses: shivammathur/setup-php@v2
|