EmicoEcommerce/Magento2TweakwiseExport

View on GitHub
.github/workflows/testing-suite.yaml

Summary

Maintainability
Test Coverage
name: Testing Suite
on: [push]
jobs:
  linter:
    strategy:
      matrix:
        image: [
          'srcoder/development-php:php82-fpm'
        ]
    runs-on: ubuntu-latest
    container:
      image: ${{ matrix.image }}
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Testing Suite
        run: |
          composer2 config http-basic.repo.magento.com ${{ secrets.MAGENTO_USERNAME }} ${{ secrets.MAGENTO_PASSWORD }}
          composer2 install --dev --prefer-dist --no-scripts --no-progress --optimize-autoloader --no-interaction -vvv
          composer2 show
          vendor/bin/grumphp run --no-interaction
        shell: bash