Skip to content

🏭 ci: pipeline CI MariaDB + tests Jest ESM (PHPUnit + Jest ✅) - #123

Merged
ronan-develop merged 27 commits into
mainfrom
ci/fix-phpunit-workflow
Mar 8, 2026
Merged

🏭 ci: pipeline CI MariaDB + tests Jest ESM (PHPUnit + Jest ✅)#123
ronan-develop merged 27 commits into
mainfrom
ci/fix-phpunit-workflow

Conversation

@ronan-develop

@ronan-develop ronan-develop commented Mar 7, 2026

Copy link
Copy Markdown
Owner

Mise en place complète de la CI GitHub Actions :

  • Service MariaDB 10.11, migrations Doctrine
  • Génération clés JWT en CI (.env.test.local override bootEnv)
  • Tests PHP (PHPUnit) et JS (Jest ESM avec --experimental-vm-modules) opérationnels
  • Environnement jsdom custom pour TextEncoder (Node 22 + whatwg-url)
  • Tests d'intégration FolderMover + DefaultFolderService

…it.yml doublon

- Remplace SQLite (incompatible avec les migrations MariaDB) par un service MariaDB 10.11
- Crée .env.test.local en CI pour que Symfony charge la bonne DATABASE_URL
  (bootEnv() surcharge les env vars du workflow avec .env.test, .env.test.local corrige ça)
- Met à jour .env.test : serverVersion mariadb-10.11.0, DB 'homecloud' (suffix _test → homecloud_test)
- Supprime phpunit.yml (doublon de ci.yml)
@ronan-develop ronan-develop self-assigned this Mar 8, 2026
@ronan-develop ronan-develop added feature Nouvelle fonctionnalité tests Ajout, correction ou amélioration de tests labels Mar 8, 2026
@ronan-develop ronan-develop changed the title 🏭 ci(PHPUnit): init sqlite + run migrations before PHPUnit 🏭 ci: pipeline CI MariaDB + tests Jest ESM (PHPUnit + Jest ✅) Mar 8, 2026
@ronan-develop
ronan-develop merged commit 7247a8f into main Mar 8, 2026
3 checks passed
@ronan-develop
ronan-develop deleted the ci/fix-phpunit-workflow branch March 8, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Nouvelle fonctionnalité tests Ajout, correction ou amélioration de tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant