Skip to content
Snippets Groups Projects
Commit ef876181 authored by Erick Hitter's avatar Erick Hitter
Browse files

Merge branch 'skip-8' into 'main'

WP's unit tests don't yet work with the version of PHPUnit that works with PHP 8

See merge request !12
parents d152e2e9 4fe9785b
No related branches found
No related tags found
1 merge request!12WP's unit tests don't yet work with the version of PHPUnit that works with PHP 8
......@@ -5,7 +5,7 @@ before_script:
# PHPUnit
- |
if [[ $(php -v) =~ "PHP 8." ]]; then
composer global require "phpunit/phpunit=7.*"
composer global require "phpunit/phpunit=9.*"
elif [[ $(php -v) =~ "PHP 7." ]]; then
composer global require "phpunit/phpunit=6.1.*"
elif [[ $(php -v) =~ "PHP 5.6" ]]; then
......
......@@ -71,6 +71,7 @@ PHPunit:PHP8.0:MySQL:
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
allow_failure: true
PHPCS:
stage: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment