Skip to content

Commit

Permalink
Merge branch 'main' into fix/state_stack
Browse files Browse the repository at this point in the history
  • Loading branch information
subiabre committed Jan 16, 2025
2 parents b9f9f0e + 86d49c3 commit 5da22a9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/phpunit.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: PHPUnit

on: [push]

env:
PHP_VERSION: '8.3'
PHP_EXTENSIONS: pdo_mysql

jobs:
phpunit:
runs-on: ubuntu-latest
Expand All @@ -19,12 +25,15 @@ jobs:
- 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: 8.3
php_extensions: pdo_mysql
php_version: ${{ env.PHP_VERSION }}
php_extensions: ${{ env.PHP_EXTENSIONS }}
configuration: phpunit.xml.dist

0 comments on commit 5da22a9

Please sign in to comment.