File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 23
23
wp : latest
24
24
- php : 7.3
25
25
wp : 5.7
26
- - php : 7.3
26
+ - php : 7.2
27
27
wp : 5.2
28
28
29
29
name : PHP ${{ matrix.php }} / WP ${{ matrix.wp }} Test
@@ -40,21 +40,18 @@ jobs:
40
40
- name : Check PHP Version
41
41
run : php -v
42
42
43
- - name : Install phpunit global
44
- run : |
45
- composer global require "phpunit/phpunit=5.7.*|6.*.*|7.*.*"
46
- phpunit --version
47
-
48
- - name : Composer install
49
- run : composer install --optimize-autoloader --prefer-dist
50
-
51
43
- name : Install WP Tests
52
44
run : bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 ${{ matrix.wp }} true
53
45
54
46
- name : Build
55
47
run : |
56
48
bash ./bin/build.sh
57
49
50
+ - name : Install phpunit global
51
+ run : |
52
+ composer global require "phpunit/phpunit=5.7.*|6.*.*|7.*.*"
53
+ phpunit --version
54
+
58
55
- name : phpunit tests
59
56
run : |
60
57
phpunit
Original file line number Diff line number Diff line change 9
9
10
10
}
11
11
],
12
- "require" : {},
12
+ "require" : {
13
+ "php" : " >=5.6"
14
+ },
13
15
"require-dev" : {
14
16
"dealerdirect/phpcodesniffer-composer-installer" : " *" ,
15
17
"phpcompatibility/phpcompatibility-wp" : " *" ,
You can’t perform that action at this time.
0 commit comments