File tree Expand file tree Collapse file tree 4 files changed +0
-46
lines changed Expand file tree Collapse file tree 4 files changed +0
-46
lines changed Original file line number Diff line number Diff line change 33env :
44 COMPOSE_INTERACTIVE_NO_CLI : 1
55 PHP_CS_FIXER_IGNORE_ENV : 1
6- MYSQL_PORT : 3307
76 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87
98on :
@@ -18,24 +17,11 @@ jobs:
1817
1918 steps :
2019 - uses : actions/checkout@v2
21- - name : Start docker containers
22- run : docker-compose up -d
2320 - name : Install composer dependencies
2421 run : composer install
2522 - name : Run tests
2623 run : vendor/bin/pest
2724
28- phpstan :
29- name : Static analysis (PHPStan)
30- runs-on : ubuntu-latest
31-
32- steps :
33- - uses : actions/checkout@v2
34- - name : Install composer dependencies
35- run : composer install
36- - name : Run phpstan
37- run : vendor/bin/phpstan analyse
38-
3925 php-cs-fixer :
4026 name : Code style (php-cs-fixer)
4127 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 3636 esac
3737fi
3838
39- if (./vendor/bin/phpstan analyse > /dev/null 2> /dev/null); then
40- echo ' ✅ PHPStan OK'
41- else
42- echo ' ❌ PHPStan FAIL'
43- offer_run ' ./vendor/bin/phpstan analyse'
44- fi
45-
4639if (./vendor/bin/pest > /dev/null 2> /dev/null); then
4740 echo ' ✅ PEST OK'
4841else
Original file line number Diff line number Diff line change 2323 },
2424 "require-dev" : {
2525 "orchestra/testbench" : " ^6.9" ,
26- "nunomaduro/larastan" : " ^0.6.10" ,
2726 "pestphp/pest" : " ^1.2" ,
2827 "pestphp/pest-plugin-laravel" : " ^1.0"
2928 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments