Skip to content

feat: add shopware 6.6 compatibility #75

feat: add shopware 6.6 compatibility

feat: add shopware 6.6 compatibility #75

Workflow file for this run

name: PHPUnit
on:
push:
branches:
- 'main'
- 'feature/6.6-compatibility'
tags-ignore:
- '*'
pull_request:
jobs:
phpunit:
name: Run tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shopware-version:
- 'v6.6.0.0-rc1'
steps:
- name: Setup Shopware
uses: FriendsOfShopware/setup-shopware@main
with:
shopware-version: ${{ matrix.shopware-version }}
php-version: 8.2
php-extensions: pcov
- name: Checkout
uses: actions/checkout@v3
with:
path: custom/plugins/FroshPlatformTemplateMail
- name: Run Tests
run: |
cd custom/plugins/FroshPlatformTemplateMail/
php -d pcov.enabled=1 ../../../vendor/bin/phpunit --coverage-clover clover.xml
- name: Upload coverage
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./clover.xml
root_dir: /home/runner/work/FroshPlatformTemplateMail/FroshPlatformTemplateMail/custom/plugins/FroshPlatformTemplateMail/
working-directory: /home/runner/work/FroshPlatformTemplateMail/FroshPlatformTemplateMail/custom/plugins/FroshPlatformTemplateMail/