Skip to content

Add new workflows

Add new workflows #1

Workflow file for this run

name: Phpcs
on: [push]
jobs:
phpcs:
strategy:
matrix:
include:
- PHP_VERSION: php83-fpm
MAGENTO_VERSION: 2.4.7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
name: Setup Magento community edition
id: setup
with:
php-version: ${{ matrix.PHP_VERSION }}
magento-version: ${{ matrix.MAGENTO_VERSION }}
- name: Run tests
run: docker exec ${{ steps.setup.outputs.docker-container-name }} bash -c "cd /data/ && ./vendor/bin/phpcs --standard=VendicMagento2 /data/extensions/"