Inner usage of entity state processor by api resource state processor #165
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHPUnit | |
on: [push] | |
env: | |
PHP_VERSION: '8.3' | |
PHP_EXTENSIONS: pdo_mysql intl | |
jobs: | |
phpunit: | |
runs-on: ubuntu-latest | |
env: | |
STRIPE_API_KEY: ${{ secrets.STRIPE_API_KEY }} | |
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 | |
with: | |
php_version: ${{ env.PHP_VERSION }} | |
php_extensions: ${{ env.PHP_EXTENSIONS }} | |
- name: PHPUnit | |
uses: php-actions/phpunit@v4 | |
env: | |
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mariadb.ports['3306'] }}/goteo | |
with: | |
php_version: ${{ env.PHP_VERSION }} | |
php_extensions: ${{ env.PHP_EXTENSIONS }} | |
configuration: phpunit.xml.dist |