18 lines
458 B
YAML
18 lines
458 B
YAML
name: PHPUnit & CS-Fixer
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, develop ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install dependencies
|
|
run: composer install --no-interaction --prefer-dist
|
|
- name: Run php-cs-fixer
|
|
run: vendor/bin/php-cs-fixer fix --dry-run --diff
|
|
- name: Run PHPUnit
|
|
run: vendor/bin/phpunit
|