Skip to content

feat: Updates PHP version, refactor models, add event emission and ot… #13

feat: Updates PHP version, refactor models, add event emission and ot…

feat: Updates PHP version, refactor models, add event emission and ot… #13

Workflow file for this run

name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
auto-review:
name: Auto review
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use PHP 8.2
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install dependencies
run: composer update --no-progress --optimize-autoloader
- name: Run phpcs
run: composer phpcs
- name: Run phpmd
run: composer phpmd
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use PHP 8.2
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install dependencies
run: composer update --no-progress --optimize-autoloader
- name: Run unit tests
env:
XDEBUG_MODE: coverage
run: composer test
- name: Run mutation tests
run: composer test-mutation