File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 7
7
- cron : ' 0 0 * * *'
8
8
9
9
jobs :
10
- tests :
10
+ static-analysis :
11
11
runs-on : ubuntu-latest
12
12
13
13
strategy :
14
14
fail-fast : true
15
15
matrix :
16
16
php : [8.1, 8.2]
17
17
18
- name : Unit tests PHP ${{ matrix.php }}
18
+ name : Code analysis with PHPStan PHP ${{ matrix.php }}
19
19
20
20
steps :
21
21
- name : Checkout
@@ -31,18 +31,21 @@ jobs:
31
31
- name : Install dependencies
32
32
run : composer install
33
33
34
- - name : Execute tests
35
- run : vendor/bin/phpunit --verbose
34
+ - name : Execute PHPStan analysis
35
+ run : vendor/bin/phpstan --xdebug analyze src --level 8
36
36
37
- static-analysis :
37
+ tests :
38
38
runs-on : ubuntu-latest
39
39
40
+ needs :
41
+ - static-analysis
42
+
40
43
strategy :
41
44
fail-fast : true
42
45
matrix :
43
46
php : [8.1, 8.2]
44
47
45
- name : Code analysis with PHPStan PHP ${{ matrix.php }}
48
+ name : Unit tests PHP ${{ matrix.php }}
46
49
47
50
steps :
48
51
- name : Checkout
@@ -58,12 +61,15 @@ jobs:
58
61
- name : Install dependencies
59
62
run : composer install
60
63
61
- - name : Execute PHPStan analysis
62
- run : vendor/bin/phpstan --xdebug analyze src --level 8
63
-
64
+ - name : Execute tests
65
+ run : vendor/bin/phpunit --verbose
66
+
64
67
mutation-tests :
65
68
runs-on : ubuntu-latest
66
69
70
+ needs :
71
+ - tests
72
+
67
73
strategy :
68
74
fail-fast : true
69
75
matrix :
You can’t perform that action at this time.
0 commit comments