File tree 4 files changed +30
-9
lines changed
4 files changed +30
-9
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
+ dist : focal
4
+
5
+ php : 7.4
6
+
3
7
branches :
4
8
only :
5
9
- master
@@ -29,16 +33,20 @@ script:
29
33
- composer behat || composer behat-rerun
30
34
31
35
jobs :
36
+ allow_failures :
37
+ - php : 8.1.2
32
38
include :
33
39
- stage : lint
34
40
script :
35
41
- composer lint
36
42
- composer phpcs
37
43
env : BUILD=lint
38
- - stage : test
39
- php : 5.6
40
- env :
41
- - WP_VERSION=latest
42
44
- stage : test
43
45
php : 7.4
44
46
env : WP_VERSION=latest
47
+ - stage : test
48
+ php : 8.0
49
+ env : WP_VERSION=latest
50
+ - stage : test
51
+ php : 8.1.2
52
+ env : WP_VERSION=latest
Original file line number Diff line number Diff line change @@ -42,6 +42,14 @@ Then you'll need to export the following vars (update the values accordingly):
42
42
43
43
` export WP_CLI_TEST_DBHOST=localhost `
44
44
45
+ Then you'll need to prepare the tests:
46
+
47
+ ` composer prepare-tests `
48
+
49
+ Then run the tests with:
50
+
51
+ ` composer behat `
52
+
45
53
Finally...
46
54
----------
47
55
Original file line number Diff line number Diff line change 42
42
" @phpunit" ,
43
43
" @behat"
44
44
]
45
+ },
46
+ "config" : {
47
+ "allow-plugins" : {
48
+ "dealerdirect/phpcodesniffer-composer-installer" : true
49
+ }
45
50
}
46
51
}
Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ Feature: Network Sites Region
94
94
When I run `wp site list --field=url`
95
95
Then STDOUT should be:
96
96
"""
97
- http ://example.com/
98
- http ://example.com/enolagay/
97
+ https ://example.com/
98
+ https ://example.com/enolagay/
99
99
"""
100
100
101
101
When I run `wp --url=example.com option get blogname`
@@ -143,7 +143,7 @@ Feature: Network Sites Region
143
143
When I run `wp site list --field=url`
144
144
Then STDOUT should be:
145
145
"""
146
- http ://example.com/
146
+ https ://example.com/
147
147
http://sub.example.com/
148
148
"""
149
149
@@ -179,6 +179,6 @@ Feature: Network Sites Region
179
179
When I run `wp site list --field=url`
180
180
Then STDOUT should be:
181
181
"""
182
- http ://example.com/
183
- http ://enolagay.dev/
182
+ https ://example.com/
183
+ https ://enolagay.dev/
184
184
"""
You can’t perform that action at this time.
0 commit comments