Skip to content

ci: Update tests PHP version to 8.3 #609

ci: Update tests PHP version to 8.3

ci: Update tests PHP version to 8.3 #609

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
name: "Running Unit Tests"
strategy:
matrix:
php: ['8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v2
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
with:
progress: yes
php_version: ${{ matrix.php }}
version: 2
- uses: php-actions/phpunit@v3
with:
configuration: phpunit.xml.dist
php_version: ${{ matrix.php }}
memory_limit: 1024M
version: 10
testsuite: Unit
bootstrap: vendor/autoload.php