Skip to content

API-1064-Core-Setup-GH-action-test-runner #4

API-1064-Core-Setup-GH-action-test-runner

API-1064-Core-Setup-GH-action-test-runner #4

Workflow file for this run

name: PHPMD
on: [push, pull_request]
jobs:
phpmd:
name: PHPMD
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP environment
uses: shivammathur/setup-php@v2
with:
coverage: none
tools: phpmd
- name: Run PHPMD
run: phpmd . github ruleset.xml --exclude 'Tests/*,vendor/*'