Commit cf31db4 1 parent 8c89c2b commit cf31db4 Copy full SHA for cf31db4
File tree 4 files changed +0
-46
lines changed
4 files changed +0
-46
lines changed Original file line number Diff line number Diff line change 3
3
env :
4
4
COMPOSE_INTERACTIVE_NO_CLI : 1
5
5
PHP_CS_FIXER_IGNORE_ENV : 1
6
- MYSQL_PORT : 3307
7
6
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8
7
9
8
on :
@@ -18,24 +17,11 @@ jobs:
18
17
19
18
steps :
20
19
- uses : actions/checkout@v2
21
- - name : Start docker containers
22
- run : docker-compose up -d
23
20
- name : Install composer dependencies
24
21
run : composer install
25
22
- name : Run tests
26
23
run : vendor/bin/pest
27
24
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
-
39
25
php-cs-fixer :
40
26
name : Code style (php-cs-fixer)
41
27
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 36
36
esac
37
37
fi
38
38
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
-
46
39
if (./vendor/bin/pest > /dev/null 2> /dev/null); then
47
40
echo ' ✅ PEST OK'
48
41
else
Original file line number Diff line number Diff line change 23
23
},
24
24
"require-dev" : {
25
25
"orchestra/testbench" : " ^6.9" ,
26
- "nunomaduro/larastan" : " ^0.6.10" ,
27
26
"pestphp/pest" : " ^1.2" ,
28
27
"pestphp/pest-plugin-laravel" : " ^1.0"
29
28
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments