wordpress-activitypub-event.../.woodpecker/test.yml
André Menrath d4b3a380d9
Some checks failed
/ test (push) Successful in 0s
ci/woodpecker/push/test Pipeline failed
test
2024-09-20 22:43:44 +02:00

23 lines
No EOL
601 B
YAML

when:
- event: push
branch: woodpecker
steps:
- name: build
image: php:8.3
environment:
WP_TESTS_PHPUNIT_POLYFILLS_PATH: vendor/yoast/phpunit-polyfills
commands:
- docker-php-ext-enable mysqli pdo_mysql intl gd zip
- composer require --dev yoast/phpunit-polyfills:"^3.0"
- composer install
- bash bin/install-wp-tests.sh wordpress_tests root mysql mysql latest true
- phpunit --configuration phpunit.xml.dist
services:
- name: database
image: mysql
environment:
MYSQL_DATABASE: wordpress_tests
MYSQL_ROOT_PASSWORD: mysql