wordpress-event-bridge-for-.../.woodpecker/test.yml

22 lines
615 B
YAML
Raw Normal View History

2024-09-20 21:50:15 +02:00
when:
- event: push
branch: woodpecker
2024-09-20 21:54:21 +02:00
services:
- name: database
image: mysql
environment:
- MYSQL_DATABASE: wordpress_tests
- MYSQL_ROOT_PASSWORD: mysql
2024-09-20 21:50:15 +02:00
steps:
- name: build
image: wordpressdevelop/phpunit
commands:
2024-09-20 21:54:21 +02:00
- apt-get clean
- apt-get -yqq update
- apt-get -yqqf install zip unzip subversion mysql-client libmysqlclient-dev --fix-missing
- docker-php-ext-enable mbstring mcrypt mysqli pdo_mysql intl gd zip bz2
- bash bin/install-wp-tests.sh wordpress_tests root mysql mysql latest true
- phpunit --configuration phpunit.xml.dist