Skip to content

Conversation

@Rafikooo
Copy link
Contributor

@Rafikooo Rafikooo commented Jan 13, 2026

Breaking changes for v4.0 release:

  • Unified database credentials (sylius:sylius) across MySQL, MariaDB, and PostgreSQL
  • Removed deprecated database_version input (use database: "mysql:8.4" format)
  • Removed postgresql alias (only postgres supported now)
  • Action now sets DATABASE_URL automatically - no need to define it in workflows

Other improvements:

  • PostgreSQL CI optimizations (fsync=off, synchronous_commit=off, etc.) for faster test runs
  • Fixed required: true on inputs that have defaults
  • Merged duplicate PHP setup steps
  • Pinned browser-actions/setup-chrome to v2
  • Updated node_version default to 22.x

Usage example after v4.0

strategy:
    matrix:
        database: ["mysql:8.4", "postgres:16", "mariadb:10.11"]

steps:
    - uses: actions/checkout@v4

    - name: Build application
      uses: SyliusLabs/BuildTestAppAction@v4
      with:
          database: ${{ matrix.database }}
          php_version: "8.3"
          symfony_version: "^7.4"
          sylius_version: "~2.2.0"
          e2e: "yes"

    - name: Run tests
      run: vendor/bin/behat

No DATABASE_URL in env: needed - the action handles it.

@Rafikooo Rafikooo force-pushed the feature/auto-database-url branch from 6875e92 to 8b6d037 Compare January 13, 2026 08:32
@Rafikooo Rafikooo changed the title Set DATABASE_URL automatically based on database type Unify database input format and set DATABASE_URL automatically Jan 13, 2026
@Rafikooo Rafikooo force-pushed the feature/auto-database-url branch from 8b6d037 to e53147d Compare January 13, 2026 08:33
@Rafikooo Rafikooo changed the title Unify database input format and set DATABASE_URL automatically Prepare v4.0: unified database setup and cleanup Jan 16, 2026
@Rafikooo Rafikooo force-pushed the feature/auto-database-url branch from 44daab7 to 17e6561 Compare January 16, 2026 10:32
Breaking changes:
- Unified database input format: `mysql:8.4` instead of separate `database` + `database_version`
- Unified credentials (`sylius:sylius@sylius`) across MySQL, MariaDB, and PostgreSQL
- Removed deprecated `postgresql` alias (use `postgres`)
- Action now sets `DATABASE_URL` automatically - no need to define it in workflows

Other improvements:
- Added validation for database input format
- Fixed `required: true` on inputs that have defaults
- Merged duplicate PHP setup steps into one
- Pinned `browser-actions/setup-chrome` to v2
- Updated `node_version` default to 22.x
@Rafikooo Rafikooo force-pushed the feature/auto-database-url branch from 17e6561 to a9b430a Compare January 16, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants