File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change 6
6
jobs :
7
7
tests :
8
8
runs-on : ubuntu-latest
9
-
10
9
strategy :
11
10
matrix :
12
11
php : [ 8.2, 8.3, 8.4 ]
13
-
14
12
steps :
15
13
- name : Checkout code
16
14
uses : actions/checkout@v4
17
-
18
15
- name : Setup PHP
19
16
uses : shivammathur/setup-php@v2
20
17
with :
21
18
php-version : ${{ matrix.php }}
22
- coverage : none
23
-
19
+ tools : phpstan
24
20
- name : Validate composer.json and composer.lock
25
21
run : composer validate
26
-
27
22
- name : Install dependencies
28
23
run : composer install --prefer-dist --no-progress --no-interaction --no-suggest
29
-
30
- - name : Execute Code Sniffer
31
- run : vendor/bin/phpcs
32
-
33
- - name : Execute PHP Stan
34
- run : vendor/bin/phpstan
35
-
36
- - name : Run test suite
37
- run : |
38
- php -S 127.0.0.1:8000 -t tests/data/app >/dev/null 2>&1 &
39
- php -S 127.0.0.1:8010 -t tests/data/rest >/dev/null 2>&1 &
40
- php vendor/bin/codecept run
41
-
42
-
24
+ - name : Run PHPStan
25
+ run : phpstan
43
26
release :
44
27
name : Automated release
45
28
needs :
You can’t perform that action at this time.
0 commit comments