Skip to content

chore: correct variable in codecov #72

chore: correct variable in codecov

chore: correct variable in codecov #72

Workflow file for this run

name: PHPUnit
on:
push:
branches:
- 'main'
tags-ignore:
- '*'
pull_request:
jobs:
phpunit:
name: Run tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shopware-version:
- 'v6.5.2.0'
- 'v6.5.3.2'
- 'trunk'
steps:
- name: Setup Shopware
uses: FriendsOfShopware/setup-shopware@main
with:
shopware-version: ${{ matrix.shopware-version }}
php-version: 8.1
- name: Checkout
uses: actions/checkout@v3
with:
path: custom/plugins/FroshPlatformTemplateMail
- name: Run Tests
run: php -d pcov.enabled=1 ./vendor/bin/phpunit -c custom/plugins/FroshPlatformTemplateMail/phpunit.xml --coverage-clover clover.xml
- name: Upload coverage
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./clover.xml