Skip to content

Stupid trick to make PHPStan detection work #427

Stupid trick to make PHPStan detection work

Stupid trick to make PHPStan detection work #427

name: ExtDN Unit Tests
on: [push]
jobs:
unit-tests:
name: Magento 2 Unit Tests
runs-on: ubuntu-latest
env:
MAGENTO_MARKETPLACE_USERNAME: ${{ secrets.MAGENTO_MARKETPLACE_USERNAME }}
MAGENTO_MARKETPLACE_PASSWORD: ${{ secrets.MAGENTO_MARKETPLACE_PASSWORD }}
MODULE_NAME: ${{ secrets.MODULE_NAME }}
COMPOSER_NAME: ${{ secrets.COMPOSER_NAME }}
steps:
- uses: actions/checkout@v2
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: extdn/github-actions-m2/magento-unit-tests/7.3@master
env:
MAGENTO_VERSION: '2.3.7-p3'
COMPOSER_VERSION: 1
- uses: extdn/github-actions-m2/magento-unit-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.5-p1'
COMPOSER_VERSION: 2