From 2ed7da290e4d8f427a1b893585877052a0f61030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Fri, 20 Sep 2024 21:57:51 +0200 Subject: [PATCH] test --- .woodpecker/test.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 537f37b..438552f 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -2,13 +2,6 @@ when: - event: push branch: woodpecker -services: - - name: database - image: mysql - environment: - - MYSQL_DATABASE: wordpress_tests - - MYSQL_ROOT_PASSWORD: mysql - steps: - name: build image: wordpressdevelop/phpunit @@ -19,3 +12,11 @@ steps: - 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 \ No newline at end of file