Skip to content

Commit aaaaa81

Browse files
Add ability to mark tests as broken on trunk and nightly
1 parent 4a674d0 commit aaaaa81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/behat-tags.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ function version_tags(
7676
# Skip tests known to be broken.
7777
$skip_tags[] = '@broken';
7878

79+
if ( $wp_version && in_array( $wp_version, array( 'nightly', 'trunk' ), true ) ) {
80+
$skip_tags[] = '@broken-trunk';
81+
}
82+
7983
# Require PHP extension, eg 'imagick'.
8084
function extension_tags( $features_folder = 'features' ) {
8185
$extension_tags = array();

0 commit comments

Comments
 (0)