File tree Expand file tree Collapse file tree 2 files changed +30
-42
lines changed Expand file tree Collapse file tree 2 files changed +30
-42
lines changed Original file line number Diff line number Diff line change 1
- name : Tests
1
+ name : CI
2
2
3
3
on :
4
4
pull_request : null
10
10
11
11
jobs :
12
12
Tests :
13
- name : PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}${{ matrix.dependencies }}
13
+ name : PHP ${{ matrix.php }} Symfony ${{ matrix.symfony }}${{ matrix.description }}
14
14
runs-on : ubuntu-latest
15
15
env :
16
16
SYMFONY_DEPRECATIONS_HELPER : ' max[self]=0'
26
26
php : ' 8.3'
27
27
- symfony : ' ^6.4'
28
28
php : ' 8.2'
29
- - description : ' Prefer lowest'
30
- php : ' 8.2'
29
+ - php : ' 8.2'
31
30
dependencies : ' --prefer-lowest'
32
31
env :
33
32
SYMFONY_DEPRECATIONS_HELPER : ' disabled'
57
56
files : ' ./coverage.xml'
58
57
fail_ci_if_error : true
59
58
token : ${{ secrets.CODECOV_TOKEN }}
59
+ SA :
60
+ strategy :
61
+ matrix :
62
+ include :
63
+ - description : Validate composer.json
64
+ script : composer validate
65
+ - description : Code style
66
+ script : vendor/bin/php-cs-fixer fix --ansi --verbose --dry-run
67
+ - description : Rector
68
+ script : vendor/bin/rector --ansi --dry-run
69
+ - description : PHPStan
70
+ script : vendor/bin/phpstan analyze
71
+ - description : Psalm
72
+ script : vendor/bin/psalm
73
+
74
+ name : ${{ matrix.description }}
75
+ runs-on : ubuntu-latest
76
+ steps :
77
+ - name : Checkout
78
+ uses : actions/checkout@v4
79
+ - name : Setup PHP
80
+ uses : shivammathur/setup-php@v2
81
+ with :
82
+ php-version : 8.2
83
+ - name : Install dependencies
84
+ uses : " ramsey/composer-install@v3"
85
+ - run : ${{ matrix.script }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments