FEAT: Add workflows for test automation #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 . |