Update php test workflow

Since the vendor libraries are moved to `icinga-php-thirdparty`. The php test workflow needs
to be updated, so that these libraries could be found during the test run.
This commit is contained in:
raviks789 2023-06-23 14:13:12 +02:00 committed by Johannes Meyer
parent 8a17c56345
commit c6d4bf5020
1 changed files with 4 additions and 1 deletions

View File

@ -99,10 +99,13 @@ jobs:
extensions: mysql, pgsql, ldap
- name: Setup dependencies
run: composer require -n --no-progress mockery/mockery ipl/i18n:@dev
run: |
composer require -n --no-progress mockery/mockery ipl/i18n:@dev
git clone --depth 1 --branch snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git vendor/icinga-php-thirdparty
- name: PHPUnit
env:
ICINGAWEB_TEST_MYSQL_PORT: ${{ job.services.mysql.ports['3306'] }}
ICINGAWEB_TEST_PGSQL_PORT: ${{ job.services.pgsql.ports['5432'] }}
ICINGAWEB_LIBDIR: vendor/
run: phpunit -c modules/test/phpunit.xml --verbose