Skip to content

Commit

Permalink
Update php test workflow
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
raviks789 committed Jul 3, 2023
1 parent d4bad08 commit f776cf0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f776cf0

Please sign in to comment.