Skip to content

FEAT: Add workflows for test automation #3

FEAT: Add workflows for test automation

FEAT: Add workflows for test automation #3

name: Shopware Store Compliance
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
extension-verifier:
name: Extension Verifier
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: 'Setup PHP'
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
tools: composer
coverage: 'xdebug3'
- name: 'Install Composer Dependencies'
shell: bash
run: composer install --prefer-dist --no-progress --no-interaction --optimize-autoloader
# inspired by https://github.com/shopware/github-actions/blob/main/extension-verifier/action.yml
- name: Install Shopware-CLI
uses: shopware/shopware-cli-action@v1
- name: Run verifier
shell: bash
run: shopware-cli extension validate --store-compliance .