11name : build
22
33on :
4+ push :
5+ branches :
6+ - master
47 pull_request : ~
5- push : ~
68
79jobs :
810 phpstan :
@@ -33,22 +35,22 @@ jobs:
3335 fail-fast : false
3436 matrix :
3537 include :
36- - description : ' Symfony 6.4 '
38+ - description : ' Symfony 6.0 '
3739 php : ' 8.1'
3840 composer_option : ' --prefer-lowest'
3941 max_deprecations : 0
4042 - description : ' Symfony 6.4'
4143 php : ' 8.2'
42- symfony : 6.3 .*
44+ symfony : 6.4 .*
4345 max_deprecations : 0
44- - description : ' Symfony 7.1 '
46+ - description : ' Symfony 7.3 '
4547 php : ' 8.3'
46- symfony : 7.1 .*
48+ symfony : 7.3 .*
4749 max_deprecations : 0
48- - description : ' Symfony 7.2 '
50+ - description : ' Symfony 8.0 '
4951 php : ' 8.4'
50- symfony : 7.2.*
51- max_deprecations : 1
52+ symfony : 8.0.*@dev
53+ max_deprecations : 0
5254 name : PHP ${{ matrix.php }} tests (${{ matrix.description }})
5355 steps :
5456 - name : Checkout
@@ -66,21 +68,12 @@ jobs:
6668 composer config minimum-stability dev
6769 composer config prefer-stable true
6870 if: contains(matrix.symfony, '@dev')
69- - run : composer update --no-interaction --no-progress --ansi ${{ matrix.composer_option }}
7071 - run : |
7172 sed -ri 's/"symfony\/(config|dependency-injection|form|http-kernel|validator)": "(.+)"/"symfony\/\1": "'${{ matrix.symfony }}'"/' composer.json;
7273 if: matrix.symfony
7374 - run : composer update --no-interaction --no-progress --ansi ${{ matrix.composer_option }}
7475 - name : Run tests
75- run : vendor/bin/phpunit --coverage-clover=clover.xml
76+ run : vendor/bin/phpunit --colors=always -- coverage-clover=clover.xml
7677 env :
77- SYMFONY_DEPRECATIONS_HELPER : max[self]=${{matrix.max_deprecations}}
78- - name : Code Climate Test Reporter
79- uses : aktions/codeclimate-test-reporter@v1
80- if : ${{ github.event_name != 'pull_request' && matrix.php == '8.4' }}
81- with :
82- codeclimate-test-reporter-id : ${{ secrets.CC_TEST_REPORTER_ID }}
83- command : after-build --coverage-input-type clover
84- - uses : codecov/codecov-action@v1
85- with :
86- files : ./clover.xml
78+ SYMFONY_DEPRECATIONS_HELPER : max[self]=${{matrix.max_deprecations}}
79+
0 commit comments