Search by

xver / micartera-frontend-symfony

sgurdiel

MiCartera Frontend build using Symfony Framework

Package info

github.com/xver-por-ver/micartera-frontend-symfony

Type:project

pkg:composer/xver/micartera-frontend-symfony

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1


README

CI Orchestrator

Upgrading from 2.0.2

Back up each existing database before upgrading. The xver/micartera-domain 3.0.0 upgrade renamed the initial Doctrine migration. On each existing database, update the migrations version table once, using the same environment and database configuration that you will use to run migrations:

devbox run -- bin/console doctrine:migrations:version 'DoctrineMigrations\VersionInitial' --delete
devbox run -- bin/console doctrine:migrations:version 'DoctrineMigrations\Version20231217111100' --add
devbox run -- bin/console doctrine:migrations:migrate

Do not run the version-table commands on a fresh database or on a database that already records DoctrineMigrations\Version20231217111100 as executed. Run only the migration command for those databases.

Continuous Integration

This project uses GitHub Actions for continuous integration.

The main workflow is .github/workflows/ci-orchestrator.yml, which delegates to reusable workflows in this order:

  1. .github/workflows/symfony-recipe-check.yml checks whether Symfony Flex recipes are outdated.
  2. .github/workflows/application-quality-assurance.yml runs the application quality checks after the recipe check succeeds.

CI runs on pushes and pull requests targeting main, except for documentation-only changes, license updates, and changes under translations/.

The application quality workflow performs:

  • Composer validation
  • Dependency installation
  • PHPUnit test suite execution with coverage output
  • Psalm static analysis

Symfony Recipe Maintenance

.github/workflows/symfony-recipe-maintenance.yml keeps Symfony Flex recipes current. It runs on pushes and pull requests targeting main, on a weekly schedule, and by manual dispatch.

When recipe updates are available, it applies composer recipes:update, commits the changes, and opens or updates the automated/symfony-recipe-updates pull request. If a recipe update fails or creates conflicts, the workflow fails so the update can be resolved manually.