make $ldap a public variable of Ldap class and not an argument of eac… #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
uses: php-actions/composer@v6 | |
with: | |
php_version: 8.3 | |
command: update | |
php_extensions: ldap xdebug | |
- name: PHPUnit Tests for php8.3 | |
uses: php-actions/phpunit@v3 | |
env: | |
XDEBUG_MODE: coverage | |
with: | |
configuration: phpunit.xml | |
version: latest | |
php_version: 8.3 | |
php_extensions: ldap xdebug | |
test_suffix: Test.php | |
args: --coverage-text | |