diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18fe8bf..2ce8eef 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 strategy: matrix: php: @@ -19,11 +19,12 @@ jobs: - 7.2 - 7.1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: xdebug + ini-file: development - run: composer install - run: docker run --net=host -d redis - run: REDIS_URI=localhost:6379 vendor/bin/phpunit --coverage-text diff --git a/composer.json b/composer.json index 7c0c178..151a433 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ }, "require-dev": { "clue/block-react": "^1.5", - "phpunit/phpunit": "^9.3 || ^7.5" + "phpunit/phpunit": "^9.5 || ^7.5" }, "autoload": { "psr-4": { "Clue\\React\\Redis\\": "src/" } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 5093fa5..bd23341 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,8 +1,8 @@ - - +./src/ + + + + + + + + diff --git a/phpunit.xml.legacy b/phpunit.xml.legacy index b325858..5ce58af 100644 --- a/phpunit.xml.legacy +++ b/phpunit.xml.legacy @@ -15,4 +15,12 @@ ./src/ + + + + + + + +