wordpress-activitypub-event.../.woodpecker/test.yml
André Menrath 2ed7da290e
Some checks are pending
/ test (push) Waiting to run
test
2024-09-20 21:57:51 +02:00

22 lines
No EOL
615 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 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
services:
- name: database
image: mysql
environment:
- MYSQL_DATABASE: wordpress_tests
- MYSQL_ROOT_PASSWORD: mysql