Set bin path to phpunit

This commit is contained in:
Art4 2024-12-22 06:51:37 +00:00
parent 57da3416c5
commit dd4467043a

View file

@ -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] }}