* feat: composer require symfony/mailer * feat: add entities for massive emailing * feat: expose mail API resources * feat: add BatchStatus::SentErrors * fix: show client status after consent command * feat: define shape of audiences criteria * fix: missing map entity provider for mail entities * fix: unsupported array/object conversion of audience criterias * fix: rename MailBatch to MailBroadcast and MailBatchRecipient to MailDispatch * feat: add command to process broadcasts * feat: add lock to broadcast process command * fix: remove dispatchCursor from Broadcast * fix: make broadcasts-process command fast * feat: update mailpit config for local dev * feat: add app:mail:dispatches-process command * feat: it was fun to play with a massive mailing prototype * feat: composer require symfonycasts/reset-password-bundle * feat: make reset-password * fix: bad ALTER on migration down op * feat: add migration for reset password bundle * fix: update forms style * feat: configure mailer address via env var * fix: remove missing asset reference * feat: translate /auth/reset-password * feat: translate email message * fix: calendar minimum optimum deadline not being set when release was given * feat: translate /check-email * feat: translate /reset * fix: rename main SecurityController path to /auth * feat: add known oauth2 clients controllr * fix: deprecated custom responses openapi context definitions * fix: projects not in campaign can still have a calendar * fix: weird af regression out of the blue, fuck software * feat: fuck my life
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
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 }}
|
|
DOCTRINE_ENCRYPTION_ENCRYPT_KEY: "0Y3McEg51558fcreunKodhuP+Ua/Yf+tp43GxmBVY4Q="
|
|
DOCTRINE_ENCRYPTION_BLIND_INDEX_KEY: "cRt6Hf/3nEVG8XTBnZrOFCnOHJQ7PIE910EYIT+79EQ="
|
|
|
|
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: PHP diagnostics
|
|
run: |
|
|
php -v
|
|
php --ini
|
|
php -r 'echo "PHP_VERSION=", PHP_VERSION, PHP_EOL;'
|
|
|
|
- name: PHPUnit
|
|
run: XDEBUG_MODE=off php -d memory_limit=128M bin/phpunit -c phpunit.xml.dist
|
|
env:
|
|
DATABASE_URL: mysql://root:goteo@127.0.0.1:${{ job.services.mariadb.ports['3306'] }}/goteo
|