File tree Expand file tree Collapse file tree 3 files changed +62
-68
lines changed Expand file tree Collapse file tree 3 files changed +62
-68
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
+
17
+ env :
18
+ SYMFONY_DEPRECATIONS_HELPER : ${{ matrix.symfony-deprecation-helper }}
19
+ SYMFONY_REQUIRE : ${{ matrix.symfony-version }}
20
+
21
+ strategy :
22
+ fail-fast : false
23
+ matrix :
24
+ symfony-version :
25
+ - ' *'
26
+ include :
27
+ - php-version : ' 7.1'
28
+ dependencies : ' lowest'
29
+ symfony-version : ' ^3.4'
30
+ symfony-deprecation-helper : ' weak'
31
+
32
+ - php-version : ' 7.2'
33
+ - php-version : ' 7.3'
34
+ - php-version : ' 7.4'
35
+ symfony-version : ' ^4.4'
36
+ - php-version : ' 7.4'
37
+ symfony-version : ' 5.0.*'
38
+ - php-version : ' 8.0'
39
+
40
+ steps :
41
+ - name : Checkout project
42
+ uses : actions/checkout@v2
43
+
44
+ - name : Install and configure PHP
45
+ uses : shivammathur/setup-php@v2
46
+ with :
47
+ php-version : ${{ matrix.php-version }}
48
+ tools : ' composer:v2'
49
+
50
+ - name : Install Symfony Flex
51
+ run : composer global require --no-progress --no-scripts --no-plugins symfony/flex
52
+
53
+ - name : Install dependencies with Composer
54
+ uses : ramsey/composer-install@v1
55
+ with :
56
+ dependency-versions : ${{ matrix.dependencies }}
57
+ composer-options : --prefer-dist
58
+
59
+ - name : Execute test cases
60
+ run : make test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
}
10
10
],
11
11
"require" : {
12
- "php" : " ^7.1" ,
12
+ "php" : " ^7.1|^8.0 " ,
13
13
"doctrine/data-fixtures" : " ^1.2" ,
14
14
"symfony/browser-kit" : " ^3.4.26 || ^4.3.8 || ^5.0"
15
15
},
24
24
"symfony/monolog-bundle" : " ^3.5" ,
25
25
"symfony/security-bundle" : " ^3.4.26 || ^4.3.8 || ^5.0" ,
26
26
"symfony/twig-bundle" : " ^3.4.26 || ^4.3.8 || ^5.0" ,
27
- "symfony/phpunit-bridge" : " ^4 .2.2 "
27
+ "symfony/phpunit-bridge" : " ^5 .2.1 "
28
28
},
29
29
"autoload" : {
30
30
"psr-4" : {
You can’t perform that action at this time.
0 commit comments