Skip to content

Update phpunit gh action config for php8.3 #85

Update phpunit gh action config for php8.3

Update phpunit gh action config for php8.3 #85

Workflow file for this run

name: PHPUnit
on: [push]
jobs:
phpunit:
runs-on: ubuntu-latest
services:
mariadb:
image: mariadb:10.11.2
env:
MYSQL_ALLOW_EMPTY_PASSWORD: false
MYSQL_ROOT_PASSWORD: goteo
MYSQL_DATABASE: goteo
ports:
- 3306/tcp
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v4
- uses: php-actions/composer@v6
- name: PHPUnit
uses: php-actions/phpunit@v4
env:
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mariadb.ports['3306'] }}/goteo
with:
php_version: 8.3
php_extensions: pdo_mysql
configuration: phpunit.xml.dist