From f776cf07aa1ad5e45d51333d7a0fe9359f698004 Mon Sep 17 00:00:00 2001 From: raviks789 <33730024+raviks789@users.noreply.github.com> Date: Fri, 23 Jun 2023 14:13:12 +0200 Subject: [PATCH] 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. --- .github/workflows/php.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 00c64a228c..b879dbd09f 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -99,10 +99,12 @@ 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 ext-ldap + && git clone --single-branch --branch unstable/0.12.0-dev 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