Skip to content

composer: Update deployer to 7.4.0 #330

composer: Update deployer to 7.4.0

composer: Update deployer to 7.4.0 #330

Workflow file for this run

name: Run tests for PR
on:
pull_request_target:
jobs:
integration_test:
strategy:
matrix:
php_version: [8.1, 8.2] # 8.3 is disabled for now, since Magento 2 does not support this yet.
testsuite: [general, brancher]
runs-on: ubuntu-latest
steps:
- name: Checkout hypernode-deploy
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Run general testsuite
if: ${{ matrix.testsuite == 'general' }}
run: MAGENTO_REPO=./magento2 ./runtests.sh general
shell: bash
env:
PHP_VERSION: ${{ matrix.php_version }}
- name: Start SSH agent for brancher testsuite
if: ${{ matrix.testsuite == 'brancher' && matrix.php_version == '8.2' }}
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Run brancher testsuite
if: ${{ matrix.testsuite == 'brancher' && matrix.php_version == '8.2' }}
run: ./runtests.sh brancher
shell: bash
env:
PHP_VERSION: ${{ matrix.php_version }}
HYPERNODE_API_TOKEN: ${{ secrets.HYPERNODE_API_TOKEN }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
code_quality:
strategy:
matrix:
php_version: [7.4, 8.1, 8.2, 8.3]
runs-on: ubuntu-latest
steps:
- name: Checkout hypernode-deploy
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
tools: composer:v2
- name: Install dependencies
run: composer update --prefer-dist --no-progress --no-suggest
- name: Run the code quality tests
run: php vendor/bin/grumphp run --no-interaction