]> git.mxchange.org Git - friendica.git/commitdiff
Set bin path to phpunit
authorArt4 <art4@wlabs.de>
Sun, 22 Dec 2024 06:51:37 +0000 (06:51 +0000)
committerArt4 <art4@wlabs.de>
Sun, 22 Dec 2024 06:51:37 +0000 (06:51 +0000)
.github/workflows/php.yml

index e565529b68ce23cfdbc33678a559e11a3cde73ea..605d31dcf01c92ee5a9befe5906ceec73d484d47 100644 (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] }}