Skip to content

Commit

Permalink
many
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed May 1, 2024
1 parent 682376b commit 9071b59
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,42 @@ jobs:
matrix:
actions:
-
name: 'ECS'
run: 'composer fix-cs --ansi'
name: 'PHPStan'
run: composer phpstan --ansi

-
name: 'PHPStan'
run: 'composer phpstan --ansi'
name: 'Composer Validate'
run: composer validate --ansi

-
name: 'Coding Standard'
run: composer fix-cs --ansi

-
name: 'Unit Tests'
run: |
cp .env.local .env
name: 'Tests'
run: vendor/bin/phpunit

# fixes missing vite manifest error
yarn install
yarn build
-
name: 'Check Commented Code'
run: vendor/bin/easy-ci check-commented-code src tests --ansi

php artisan migrate --force
-
name: 'Check Active Classes'
run: vendor/bin/class-leak check src --ansi

vendor/bin/phpunit
-
name: 'Detect composer dependency issues'
run: vendor/bin/composer-dependency-analyser

name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

# see https://github.com/shivammathur/setup-php
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
# needed by phpunit
extensions: mbstring
# disable xdebug
coverage: none

# composer install cache - https://github.com/ramsey/composer-install
Expand Down

0 comments on commit 9071b59

Please sign in to comment.