Run just 8.3 tests
This commit is contained in:
parent
7e6a047bc8
commit
811f968fb9
1 changed files with 4 additions and 10 deletions
14
.github/workflows/phpunit.yml
vendored
14
.github/workflows/phpunit.yml
vendored
|
@ -9,12 +9,6 @@ jobs:
|
||||||
|
|
||||||
name: PHPUnit test suite
|
name: PHPUnit test suite
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
operating-system: ['ubuntu-latest']
|
|
||||||
php-versions: ['8.3', '8.4']
|
|
||||||
phpunit-versions: ['latest']
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
|
@ -32,10 +26,10 @@ jobs:
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: '8.3'
|
||||||
extensions: mbstring, intl, phpredis, imagick
|
extensions: mbstring, intl, phpredis, imagick
|
||||||
coverage: xdebug
|
coverage: xdebug
|
||||||
tools: phpunit:${{ matrix.phpunit-versions }}
|
tools: phpunit
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
@ -51,9 +45,9 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
path: ${{ steps.composer-cache.outputs.dir }}
|
||||||
key: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }}
|
key: ${{ runner.os }}-php-8.3-composer-${{ hashFiles('**/composer.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-php-${{ matrix.php-version }}-composer-
|
${{ runner.os }}-php-8.3-composer-
|
||||||
|
|
||||||
- name: Install Composer Dependencies
|
- name: Install Composer Dependencies
|
||||||
run: composer install --quiet --no-ansi --no-interaction --no-progress
|
run: composer install --quiet --no-ansi --no-interaction --no-progress
|
||||||
|
|
Loading…
Add table
Reference in a new issue