Skip to content

Change path app phpstan #4

Change path app phpstan

Change path app phpstan #4

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- name: Copy .env file
run: cp .env.ci .env
- name: Run Composer
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run Test Suite
run: php artisan test
- name: Run Larastan
run: ./vendor/bin/phpstan analyse
- name: Run Laravel Pint
run: ./vendor/bin/pint --test