From dd4467043a040a63268cbf821125b19af0b554aa Mon Sep 17 00:00:00 2001 From: Art4 Date: Sun, 22 Dec 2024 06:51:37 +0000 Subject: [PATCH] Set bin path to phpunit --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e565529b68..605d31dcf0 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -84,7 +84,7 @@ jobs: mysql -h"127.0.0.1" -P"$PORT" -utest -ptest test < database.sql - name: Test with phpunit - run: $(git rev-parse --show-toplevel)/bin/phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml + run: vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml env: MYSQL_HOST: 127.0.0.1 MYSQL_PORT: ${{ job.services.mariadb.ports[3306] }}