diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37ec74c..2329c4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: jobs: PHPUnit: name: PHPUnit (PHP ${{ matrix.php }}) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: LOGIN: username:password@localhost strategy: @@ -25,12 +25,13 @@ jobs: - 5.4 - 5.3 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: xdebug - - run: sudo apt-get -qq update || true # update package list and ignore temporary network errors + ini-file: development + - run: sudo apt-get -qq update || true && sudo apt-get install -f # update package list and ignore temporary network errors - run: sudo apt-get --no-install-recommends -qq install -y asterisk - run: sudo cp tests/username.conf /etc/asterisk/manager.d/username.conf - run: sudo /etc/init.d/asterisk reload diff --git a/composer.json b/composer.json index 6e57965..2141caf 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,16 @@ }, "require-dev": { "clue/block-react": "^1.2", - "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35" + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" }, "autoload": { - "psr-4": { "Clue\\React\\Ami\\": "src/" } + "psr-4": { + "Clue\\React\\Ami\\": "src/" + } }, "autoload-dev": { - "psr-4": { "Clue\\Tests\\React\\Ami\\": "tests/" } + "psr-4": { + "Clue\\Tests\\React\\Ami\\": "tests/" + } } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a71a44e..c4ea26c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,8 +1,8 @@ - - + + + + + + diff --git a/phpunit.xml.legacy b/phpunit.xml.legacy index 393aa4e..83e0f8b 100644 --- a/phpunit.xml.legacy +++ b/phpunit.xml.legacy @@ -1,6 +1,6 @@ - + ./src/ + + + + + + + +