Skip to content

Add executeActionsEmail #277

Add executeActionsEmail

Add executeActionsEmail #277

Workflow file for this run

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
name: PHP Unit
jobs:
Unit:
runs-on: ubuntu-latest
env:
XDEBUG_MODE: coverage
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run unit tests
run: vendor/bin/phpunit --testsuite unit
#- name: Generate code coverage
# uses: codecov/codecov-action@v3
# with:
# files: phpunit.cobertura.xml
- name: Generate code coverage report
uses: irongut/[email protected]
with:
format: markdown
filename: phpunit.cobertura.xml
badge: true
output: both
- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md