Skip to content

Commit

Permalink
Skip language tests for trunk
Browse files Browse the repository at this point in the history
Using the existing tag.
  • Loading branch information
szepeviktor authored Jun 10, 2017
1 parent 7571523 commit ffbf288
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/behat-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ function version_tags( $prefix, $current, $operator = '<' ) {
$wp_version_reqs = version_tags( 'require-wp', getenv( 'WP_VERSION' ), '<' );
}

// Translations may not be available for trunk
if ( 'trunk' === getenv( 'WP_VERSION' ) ) {
$wp_version_reqs = array( '~@core-language' );
}

$skip_tags = array_merge(
$wp_version_reqs,
version_tags( 'require-php', PHP_VERSION, '<' ),
Expand Down

0 comments on commit ffbf288

Please sign in to comment.