wordpress-event-bridge-for-.../.woodpecker/test.yml
André Menrath 8c8af01258
Some checks failed
/ test (push) Successful in 1s
ci/woodpecker/push/test Pipeline failed
test
2024-09-20 22:08:20 +02:00

23 lines
No EOL
569 B
YAML

when:
- event: push
branch: woodpecker
steps:
- name: build
image: wordpressdevelop/phpunit
commands:
- apt-get clean
- apt-get -yqq update
- apt-get -yqqf install zip unzip subversion
- docker-php-ext-enable mbstring mysqli intl gd zip
- bash bin/install-wp-tests.sh wordpress_tests root mysql mysql latest true
- composer install
- phpunit --configuration phpunit.xml.dist
services:
- name: database
image: mysql
environment:
MYSQL_DATABASE: wordpress_tests
MYSQL_ROOT_PASSWORD: mysql