File tree Expand file tree Collapse file tree 5 files changed +94
-44
lines changed
Expand file tree Collapse file tree 5 files changed +94
-44
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [ master ]
7+
8+ jobs :
9+ run :
10+ runs-on : ubuntu-18.04
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ php :
15+ - ' 5.5'
16+ - ' 5.6'
17+ - ' 7.1'
18+ - ' 7.2'
19+ - ' 7.3'
20+ - ' 7.4'
21+ symfony-versions : [false]
22+ include :
23+ - description : ' Symfony 2.*'
24+ php : ' 5.6'
25+ symfony-versions : ' ^2.8'
26+ - description : ' Symfony 3.*'
27+ php : ' 7.4'
28+ symfony-versions : ' ^3.0'
29+ - description : ' Symfony 4.*'
30+ php : ' 7.4'
31+ symfony-versions : ' ^4.0'
32+ name : PHP ${{ matrix.php }} ${{ matrix.description }}
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v2
36+
37+ - uses : actions/cache@v2
38+ with :
39+ path : ~/.composer/cache/files
40+ key : ${{ matrix.php }}-${{ matrix.symfony-versions }}
41+
42+ - name : Setup PHP
43+ uses : shivammathur/setup-php@v2
44+ with :
45+ php-version : ${{ matrix.php }}
46+
47+ - name : Install dependencies
48+ run : composer require "symfony/symfony:${{ matrix.symfony-versions }}" --no-update
49+ if : matrix.symfony-versions
50+
51+ - name : Install dependencies
52+ run : composer install
53+
54+ - name : Run PHPUnit tests
55+ run : ./vendor/bin/phpunit --coverage-text
Original file line number Diff line number Diff line change 1+ name : Code style and composer validate
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [ master ]
7+
8+ jobs :
9+ composer-validate :
10+ name : Validate composer.json
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v2.0.0
15+
16+ - name : Validate
17+ run : composer validate --no-check-lock --strict
18+
19+ php-cs-fixer :
20+ name : PHP-CS-Fixer
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Checkout
24+ uses : actions/checkout@v2
25+
26+ - name : Setup PHP
27+ uses : shivammathur/setup-php@v2
28+ with :
29+ php-version : ' 7.4'
30+
31+ - name : Install dependencies
32+ run : composer install
33+
34+ - name : Run script
35+ run : vendor/bin/php-cs-fixer fix --verbose --diff --dry-run
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Features include:
1515** Note:** This bundle does * not* provide an authentication system but can
1616provide the user provider for the core [ SecurityBundle] ( https://symfony.com/doc/current/book/security.html ) .
1717
18- [ ![ Build Status] ( https://travis-ci.org /FriendsOfSymfony/FOSUserBundle.svg?branch=master )] ( https://travis-ci.org /FriendsOfSymfony/FOSUserBundle ) [ ![ Total Downloads] ( https://poser.pugx.org/friendsofsymfony/user-bundle/downloads.svg )] ( https://packagist.org/packages/friendsofsymfony/user-bundle ) [ ![ Latest Stable Version] ( https://poser.pugx.org/friendsofsymfony/user-bundle/v/stable.svg )] ( https://packagist.org/packages/friendsofsymfony/user-bundle )
18+ [ ![ Build Status] ( https://github.com /FriendsOfSymfony/FOSUserBundle/workflows/CI/badge .svg?branch=master )] ( https://github.com /FriendsOfSymfony/FOSUserBundle/actions?query=workflow%3ACI+branch%3Amaster ) [ ![ Total Downloads] ( https://poser.pugx.org/friendsofsymfony/user-bundle/downloads.svg )] ( https://packagist.org/packages/friendsofsymfony/user-bundle ) [ ![ Latest Stable Version] ( https://poser.pugx.org/friendsofsymfony/user-bundle/v/stable.svg )] ( https://packagist.org/packages/friendsofsymfony/user-bundle )
1919
2020Documentation
2121-------------
Original file line number Diff line number Diff line change 1818 </exclude >
1919 </whitelist >
2020 </filter >
21+ <php >
22+ <env name =" SYMFONY_DEPRECATIONS_HELPER" value =" disabled" />
23+ </php >
2124</phpunit >
You can’t perform that action at this time.
0 commit comments