Skip to content

Workflow file for this run

name: 'Tests: Playground Matrix Resource'
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
permissions:
contents: write
pull-requests: write
issues: write
repository-projects: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- uses: php-actions/phpunit@v3
env:
XDEBUG_MODE: coverage
with:
php_extensions: xdebug
coverage_clover: clover.xml
# testdox_html: output/testdox.html
# testdox_text: output/testdox.txt
coverage_text: true
- name: Make code coverage badge
uses: timkrase/[email protected]
with:
report: clover.xml
coverage_badge_path: output/coverage.svg
push_badge: false
- name: Git push to image-data branch
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./output
publish_branch: testing/develop
github_token: ${{ secrets.GITHUB_TOKEN }}
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'