Skip to content

Updating changelog + release workflow deprecated action #316

Updating changelog + release workflow deprecated action

Updating changelog + release workflow deprecated action #316

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- develop
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '8.2', '8.3' ]
shopware-versions: [
'6.6.0.3',
'6.6.1.2',
'6.6.2.0',
]
name: Shopware ${{ matrix.shopware-versions }} Test (PHP ${{ matrix.php-versions }})
steps:
- uses: actions/checkout@v4
with:
path: nosto-shopware6
- name: Setup Runner
uses: ./nosto-shopware6/.github/action/setup_runner
with:
php-version: ${{ matrix.php-versions }}
- name: Setup Plugin
uses: ./nosto-shopware6/.github/action/setup_plugin
- name: Setup Shopware Shop
uses: ./nosto-shopware6/.github/action/setup_shop
with:
shopware-version: ${{ matrix.shopware-versions }}
- name: Install test dependencies for SW
run: |
cd shopware
composer require --dev symfony/test-pack
- name: Run PHPUnit test suite
run: |
cd shopware/custom/plugins/nosto-shopware6
SYMFONY_DEPRECATIONS_HELPER=disabled composer test