Skip to content

Add CI check to verify generated plugin compatibility with latest Shopware version #1562

Description

@Ant1gua

Technical TODO

Add a CI check in the shopware-cli repository that verifies the output of extension create --type plugin remains compatible with the latest supported Shopware version.

Why

Today, the generated plugin scaffold is expected to be valid and usable, but that guarantee can drift over time as Shopware evolves.

What the CI job should do

  • Run shopware-cli extension create --type plugin with a minimal set of required inputs.
  • Use the generated plugin artifact in a test environment based on the latest supported Shopware version.
  • Verify the result by attempting to install the generated plugin in Shopware.
  • Fail the pipeline if the generated plugin cannot be installed.

Notes

Acceptance criteria

  • A CI workflow exists in shopware/shopware-cli that generates a minimal plugin scaffold using extension create --type plugin.
  • The workflow tests that generated scaffold against the latest supported Shopware version.
  • The workflow fails when the generated plugin is not installable.
  • The workflow is documented clearly enough that future maintainers understand what compatibility guarantee it provides.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions