File tree Expand file tree Collapse file tree 3 files changed +61
-63
lines changed Expand file tree Collapse file tree 3 files changed +61
-63
lines changed Original file line number Diff line number Diff line change
1
+ name : Test application
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - ' master'
8
+ - ' [0-9]+.x'
9
+ - ' [0-9]+.[0-9]+'
10
+ - ' [0-9]+.[0-9]+.x'
11
+
12
+ jobs :
13
+ test :
14
+ name : ' PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }} ${{ matrix.dependencies}}'
15
+ runs-on : ubuntu-20.04
16
+ env :
17
+ SYMFONY_PHPUNIT_VERSION : 6
18
+ SYMFONY_DEPRECATIONS_HELPER : " /.*each.*/"
19
+ SYMFONY_REQUIRE : ${{ matrix.symfony-version }}
20
+
21
+ strategy :
22
+ fail-fast : false
23
+ matrix :
24
+ include :
25
+ - php-version : ' 7.1'
26
+ dependencies : ' lowest'
27
+ - php-version : ' 7.2'
28
+ symfony-version : 3.3.*
29
+ - php-version : ' 7.2'
30
+ symfony-version : 3.4.*
31
+ - php-version : ' 7.2'
32
+ symfony-version : 4.0.*
33
+ test-installation : true
34
+
35
+ steps :
36
+ - name : Checkout project
37
+ uses : actions/checkout@v2
38
+
39
+ - name : Install and configure PHP
40
+ uses : shivammathur/setup-php@v2
41
+ with :
42
+ php-version : ${{ matrix.php-version }}
43
+ tools : ' composer:v2'
44
+
45
+ - name : Install Symfony Flex
46
+ run : composer global require --no-progress --no-scripts --no-plugins symfony/flex
47
+
48
+ - name : Install dependencies with Composer
49
+ uses : ramsey/composer-install@v1
50
+ with :
51
+ dependency-versions : ${{ matrix.dependencies }}
52
+ composer-options : --prefer-dist
53
+
54
+ - name : Execute test cases
55
+ run : make test
56
+
57
+ - name : Test installation
58
+ if : ${{ matrix.test-installation == true }}
59
+ run : make test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 19
19
"symfony/security-core" : " ^2.8 || ^3.3 || ^4.0"
20
20
},
21
21
"require-dev" : {
22
+ "jackalope/jackalope-doctrine-dbal" : " ^1.3" ,
22
23
"symfony/security-bundle" : " ^2.8 || ^3.3 || ^4.0" ,
23
24
"symfony/phpunit-bridge" : " ^4.2.2" ,
24
25
"mockery/mockery" : " ^0.9.4" ,
25
26
"symfony-cmf/routing-bundle" : " ^2.1.0" ,
26
- "symfony-cmf/testing" : " ^2.1.11 " ,
27
+ "symfony-cmf/testing" : " ^3.3.0 " ,
27
28
"doctrine/dbal" : " 2.5.*" ,
28
29
"doctrine/phpcr-odm" : " ^1.4|^2.0 " ,
29
30
"symfony/browser-kit" : " ^2.8 || ^3.3 || ^4.0" ,
You can’t perform that action at this time.
0 commit comments